Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tao / PI_Server / PI_Server.h
blobb7f7d0985e91b965ba4d6dedc000db3e11dfe178
1 // -*- C++ -*-
3 // ===================================================================
4 /**
5 * @file PI_Server.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 // ===================================================================
11 #ifndef TAO_PI_SERVER_H
12 #define TAO_PI_SERVER_H
14 #include /**/ "ace/pre.h"
16 #include "tao/PI_Server/pi_server_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Versioned_Namespace.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 /**
27 * @class TAO_PI_Server_Init
29 class TAO_PI_Server_Export TAO_PI_Server_Init
31 public:
32 /// Used to force the initialization of the ORB code.
33 static int Initializer ();
36 static int
37 TAO_Requires_PI_Server_Initializer =
38 TAO_PI_Server_Init::Initializer ();
40 TAO_END_VERSIONED_NAMESPACE_DECL
42 #define TAO_PI_SERVER_SAFE_INCLUDE
43 #include "tao/PI_Server/ServerRequestInterceptorC.h"
44 #include "tao/PI_Server/ServerRequestInfoC.h"
45 #undef TAO_PI_SERVER_SAFE_INCLUDE
47 #include /**/ "ace/post.h"
49 #endif /* TAO_PI_SERVER_H */