Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / tests / POA / Bug_1592_Regression / Server_ORBInitializer.h
blob01220953a958b89b4e3c53f82de2e3bea631b88a
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Server_ORBInitializer.h
7 * Implementation header for the PortableInterceptor/ServantLocator
8 * test server side ORB initializer.
10 * @author Ossama Othman <ossama@dre.vanderbilt.edu>
12 //=============================================================================
14 #ifndef TAO_SERVER_ORB_INITIALIZER_H
15 #define TAO_SERVER_ORB_INITIALIZER_H
17 #include "tao/PI/PI.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/LocalObject.h"
25 // This is to remove "inherits via dominance" warnings from MSVC.
26 // MSVC is being a little too paranoid.
27 #if defined(_MSC_VER)
28 #pragma warning(push)
29 #pragma warning(disable:4250)
30 #endif /* _MSC_VER */
32 /// Server side ORB initializer.
33 class Server_ORBInitializer :
34 public virtual PortableInterceptor::ORBInitializer,
35 public virtual ::CORBA::LocalObject
37 public:
38 /// Constructor.
39 Server_ORBInitializer ();
41 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
43 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
46 #if defined(_MSC_VER)
47 #pragma warning(pop)
48 #endif /* _MSC_VER */
50 #endif /* TAO_SERVER_ORB_INITIALIZER_H */