Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Bug_2133 / ClientORBInitializer.h
blob55063792acd8ecd89c7d3aec40e2df365d0c32f7
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file ClientORBInitializer.h
6 */
7 //=============================================================================
8 #ifndef CLIENTORBINITIALIZER_H
9 #define CLIENTORBINITIALIZER_H
11 #include /**/ "ace/pre.h"
13 #include "tao/PortableInterceptorC.h"
14 #include "ClientRequest_Interceptor.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 # pragma once
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 #include "tao/PI/PI.h"
21 #include "tao/LocalObject.h"
23 // This is to remove "inherits via dominance" warnings from MSVC.
24 // MSVC is being a little too paranoid.
25 #if defined(_MSC_VER)
26 #pragma warning(push)
27 #pragma warning(disable:4250)
28 #endif /* _MSC_VER */
30 /// RTCORBA ORB initializer.
31 class ClientORBInitializer :
32 public virtual PortableInterceptor::ORBInitializer,
33 public virtual ::CORBA::LocalObject
35 public:
37 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
39 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
42 #if defined(_MSC_VER)
43 #pragma warning(pop)
44 #endif /* _MSC_VER */
46 #include /**/ "ace/post.h"
48 #endif /* CLIENTORBINITIALIZER_H */