Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Bug_2133 / ClientORBInitializer.h
blob346b31b2b5a3ee8b2d0c3ae1f7c9532854eca1c2
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:
36 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
38 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
41 #if defined(_MSC_VER)
42 #pragma warning(pop)
43 #endif /* _MSC_VER */
45 #include /**/ "ace/post.h"
47 #endif /* CLIENTORBINITIALIZER_H */