Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / POA_Current_Factory.h
blob13948e1eca90d8b460d00bc68b54abc2fcaa63ab
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file POA_Current_Factory.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 //=============================================================================
11 #ifndef TAO_POA_CURRENT_FACTORY_H
12 #define TAO_POA_CURRENT_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/PortableServer/portableserver_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Object_Loader.h"
23 #include "ace/Service_Config.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 class TAO_PortableServer_Export TAO_POA_Current_Factory
28 : public TAO_Object_Loader
30 public:
31 /// Creates a PICurrent and returns it.
32 virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb,
33 int argc,
34 ACE_TCHAR *argv []);
37 ACE_STATIC_SVC_DECLARE (TAO_POA_Current_Factory)
38 ACE_FACTORY_DECLARE (TAO_PortableServer, TAO_POA_Current_Factory)
40 TAO_END_VERSIONED_NAMESPACE_DECL
42 #include /**/ "ace/post.h"
44 #endif /* TAO_OBJECT_ADAPTER_FACTORY_H */