00001 // -*- C++ -*- 00002 00003 // =================================================================== 00004 /** 00005 * @file PI_Server.h 00006 * 00007 * $Id: PI_Server.h 71473 2006-03-10 07:19:20Z jtc $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 // =================================================================== 00012 00013 #ifndef TAO_PI_SERVER_H 00014 #define TAO_PI_SERVER_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/PI_Server/pi_server_export.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "tao/Versioned_Namespace.h" 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 /** 00029 * @class TAO_PI_Server_Init 00030 * 00031 */ 00032 class TAO_PI_Server_Export TAO_PI_Server_Init 00033 { 00034 public: 00035 00036 /// Used to force the initialization of the ORB code. 00037 static int Initializer (void); 00038 }; 00039 00040 static int 00041 TAO_Requires_PI_Server_Initializer = 00042 TAO_PI_Server_Init::Initializer (); 00043 00044 TAO_END_VERSIONED_NAMESPACE_DECL 00045 00046 #define TAO_PI_SERVER_SAFE_INCLUDE 00047 #include "tao/PI_Server/ServerRequestInterceptorC.h" 00048 #include "tao/PI_Server/ServerRequestInfoC.h" 00049 #undef TAO_PI_SERVER_SAFE_INCLUDE 00050 00051 #include /**/ "ace/post.h" 00052 00053 #endif /* TAO_PI_SERVER_H */