Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Bug_2088 / Client_ORBInitializer.h
blobe9a21bcabfbeb469fb74f701956bbada1db74e8e
1 // -*- C++ -*-
3 #ifndef TAO_CLIENT_ORB_INITIALIZER_H
4 #define TAO_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 #include "tao/LocalObject.h"
15 // This is to remove "inherits via dominance" warnings from MSVC.
16 // MSVC is being a little too paranoid.
17 #if defined(_MSC_VER)
18 #pragma warning(push)
19 #pragma warning(disable:4250)
20 #endif /* _MSC_VER */
22 /// Client ORB initializer.
23 class Client_ORBInitializer :
24 public virtual PortableInterceptor::ORBInitializer,
25 public virtual ::CORBA::LocalObject
27 public:
28 /// Constructor
29 Client_ORBInitializer ();
31 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
33 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
35 bool pre_init_called;
36 bool post_init_called;
39 #if defined(_MSC_VER)
40 #pragma warning(pop)
41 #endif /* _MSC_VER */
43 #include /**/ "ace/post.h"
44 #endif /* TAO_CLIENT_ORB_INITIALIZER_H */