Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2615_Regression / ServerORBInitializer2.h
blob370c4c2d481cd3ac7baeb5b26096fdb175752e65
1 // -*- C++ -*-
3 //=============================================================================
4 //=============================================================================
5 #ifndef TAO249_SERVER_ORBINITIALIZER2_H
6 #define TAO249_SERVER_ORBINITIALIZER2_H
8 #include /**/ "ace/pre.h"
10 #include "tao/PortableInterceptorC.h"
11 #include "tao/PI_Server/PI_Server_includeC.h"
12 #include "tao/PI/PI.h"
14 #if !defined (ACE_LACKS_PRAGMA_ONCE)
15 # pragma once
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 #include "tao/LocalObject.h"
20 /// RTCORBA ORB initializer.
21 class Server_ORBInitializer2 :
22 public virtual PortableInterceptor::ORBInitializer,
23 public virtual ::CORBA::LocalObject
25 public:
26 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
28 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
30 private:
31 /// Register the necessary interceptors.
32 void register_server_request_interceptors (
33 PortableInterceptor::ORBInitInfo_ptr info);
36 #include /**/ "ace/post.h"
38 #endif /* TAO249_SERVER_ORBINITIALIZER2_H */