00001 /* -*- C++ -*- */ 00002 00003 00004 //============================================================================= 00005 /** 00006 * @file PICurrent_Loader.h 00007 * 00008 * $Id: PICurrent_Loader.h 84281 2009-01-30 15:01:17Z wotte $ 00009 * 00010 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00011 */ 00012 //============================================================================= 00013 00014 00015 #ifndef TAO_PICURRENT_LOADER_H 00016 #define TAO_PICURRENT_LOADER_H 00017 00018 #include /**/ "ace/pre.h" 00019 00020 #include "tao/PI/pi_export.h" 00021 00022 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00023 # pragma once 00024 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00025 00026 #include "tao/orbconf.h" 00027 00028 #if TAO_HAS_INTERCEPTORS == 1 00029 00030 #include "tao/Object_Loader.h" 00031 00032 #include "ace/Service_Config.h" 00033 00034 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00035 00036 class TAO_PI_Export TAO_PICurrent_Loader 00037 : public TAO_Object_Loader 00038 { 00039 public: 00040 /// Creates a PICurrent and returns it. 00041 virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb, 00042 int argc, 00043 ACE_TCHAR *argv []); 00044 }; 00045 00046 00047 ACE_STATIC_SVC_DECLARE (TAO_PICurrent_Loader) 00048 ACE_FACTORY_DECLARE (TAO_PI, TAO_PICurrent_Loader) 00049 00050 TAO_END_VERSIONED_NAMESPACE_DECL 00051 00052 #endif /* TAO_HAS_INTERCEPTORS == 1 */ 00053 00054 #include /**/ "ace/post.h" 00055 00056 #endif /* TAO_PICURRENT_LOADER_H */