3 //=============================================================================
7 * Dynamic loader object for Compression
9 * @author Johnny Willemsen <jwillemsen@remedy.nl>
11 //=============================================================================
13 #ifndef TAO_COMPRESSION_GIOP_H
14 #define TAO_COMPRESSION_GIOP_H
15 #include /**/ "ace/pre.h"
17 #include "tao/Compression/compression_export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/Versioned_Namespace.h"
24 #include "tao/Object_Loader.h"
25 #include "ace/Service_Config.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 * @class TAO_Compression_Loader
32 * @brief Class that loads the Compression library.
35 class TAO_Compression_Export TAO_Compression_Loader
: public TAO_Object_Loader
38 /// Creates a Compression Manager and returns it.
39 virtual CORBA::Object_ptr
create_object (CORBA::ORB_ptr orb
, int argc
,
42 /// Used to force the initialization of the ORB code.
43 static int Initializer ();
47 TAO_Requires_Compression_Initializer
= TAO_Compression_Loader::Initializer
50 TAO_END_VERSIONED_NAMESPACE_DECL
52 ACE_STATIC_SVC_DECLARE (TAO_Compression_Loader
)
53 ACE_FACTORY_DECLARE (TAO_Compression
, TAO_Compression_Loader
)
55 #define TAO_COMPRESSION_SAFE_INCLUDE
56 #include "tao/Compression/CompressionC.h"
57 #undef TAO_COMPRESSION_SAFE_INCLUDE
59 #include /**/ "ace/post.h"
60 #endif /* TAO_COMPRESSION_GIOP_H */