Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Dynamic / Echo_Client_ORBInitializer.h
blob84cdaa3c4726ce32d5023a30c14b6ff6480c2b21
1 // -*- C++ -*-
2 #ifndef TAO_ECHO_CLIENT_ORB_INITIALIZER_H
3 #define TAO_ECHO_CLIENT_ORB_INITIALIZER_H
5 #include /**/ "ace/pre.h"
7 #include "tao/PI/PI.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
10 # pragma once
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
13 #if TAO_HAS_INTERCEPTORS == 1
15 #include "tao/LocalObject.h"
17 // This is to remove "inherits via dominance" warnings from MSVC.
18 // MSVC is being a little too paranoid.
19 #if defined(_MSC_VER)
20 #pragma warning(push)
21 #pragma warning(disable:4250)
22 #endif /* _MSC_VER */
24 /// Echo client ORB initializer.
25 class Echo_Client_ORBInitializer :
26 public virtual PortableInterceptor::ORBInitializer,
27 public virtual ::CORBA::LocalObject
29 public:
31 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
33 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
36 #if defined(_MSC_VER)
37 #pragma warning(pop)
38 #endif /* _MSC_VER */
40 #endif /* TAO_HAS_INTERCEPTORS == 1 */
42 #include /**/ "ace/post.h"
44 #endif /* TAO_ECHO_CLIENT_ORB_INITIALIZER_H */