Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / tao / Compression / Compression.h
blobceeeae0909d58ec591ca31c14aa2fa035485a41d
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Compression.h
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)
20 # 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
29 /**
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
37 public:
38 /// Creates a Compression Manager and returns it.
39 virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb, int argc,
40 ACE_TCHAR *argv []);
42 /// Used to force the initialization of the ORB code.
43 static int Initializer ();
46 static int
47 TAO_Requires_Compression_Initializer = TAO_Compression_Loader::Initializer
48 ();
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 */