Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / IORManipulation / IORManip_Loader.h
blob18e970fca5fe6e5b0aaf194de840e1707a0ede81
1 // -*- C++ -*-
4 //=============================================================================
5 /**
6 * @file IORManip_Loader.h
8 * @author Carlos O'Ryan <coryan@uci.edu>
9 */
10 //=============================================================================
13 #ifndef TAO_IORMANIP_LOADER_H
14 #define TAO_IORMANIP_LOADER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/IORManipulation/ior_manip_export.h"
18 #include "tao/Object_Loader.h"
19 #include "ace/Service_Config.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # pragma once
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 class TAO_IORManip_Export TAO_IORManip_Loader : public TAO_Object_Loader
29 public:
30 /// Constructor
31 TAO_IORManip_Loader ();
33 /// Creates a IORManip factory and returns it.
34 virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb,
35 int argc,
36 ACE_TCHAR *argv []);
38 /// Used to force the initialization of the ORB code.
39 static int Initializer ();
42 static int
43 TAO_Requires_IORManip_Initializer = TAO_IORManip_Loader::Initializer ();
46 ACE_STATIC_SVC_DECLARE (TAO_IORManip_Loader)
47 ACE_FACTORY_DECLARE (TAO_IORManip, TAO_IORManip_Loader)
49 TAO_END_VERSIONED_NAMESPACE_DECL
51 #define TAO_IORMANIP_SAFE_INCLUDE
52 #include "tao/IORManipulation/IORC.h"
53 #undef TAO_IORMANIP_SAFE_INCLUDE
55 #include /**/ "ace/post.h"
56 #endif /* TAO_IORManip_H */