4 //=============================================================================
6 * @file PICurrent_Loader.h
8 * @author Johnny Willemsen <jwillemsen@remedy.nl>
10 //=============================================================================
13 #ifndef TAO_PICURRENT_LOADER_H
14 #define TAO_PICURRENT_LOADER_H
16 #include /**/ "ace/pre.h"
18 #include "tao/PI/pi_export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/orbconf.h"
26 #if TAO_HAS_INTERCEPTORS == 1
28 #include "tao/Object_Loader.h"
30 #include "ace/Service_Config.h"
32 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
34 class TAO_PI_Export TAO_PICurrent_Loader
35 : public TAO_Object_Loader
38 /// Creates a PICurrent and returns it.
39 virtual CORBA::Object_ptr
create_object (CORBA::ORB_ptr orb
,
45 ACE_STATIC_SVC_DECLARE (TAO_PICurrent_Loader
)
46 ACE_FACTORY_DECLARE (TAO_PI
, TAO_PICurrent_Loader
)
48 TAO_END_VERSIONED_NAMESPACE_DECL
50 #endif /* TAO_HAS_INTERCEPTORS == 1 */
52 #include /**/ "ace/post.h"
54 #endif /* TAO_PICURRENT_LOADER_H */