Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / CSD_Framework / CSD_ORBInitializer.h
blobb683fe0cdfd9364bd798e2534f9ec7d1baaf685e
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file CSD_ORBInitializer.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 //=============================================================================
12 #ifndef TAO_CSD_ORB_INITIALIZER_H
13 #define TAO_CSD_ORB_INITIALIZER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/orbconf.h"
19 #include "tao/CSD_Framework/CSD_FW_Export.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # pragma once
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #include "tao/PI/PI.h"
26 #include "tao/LocalObject.h"
28 // This is to remove "inherits via dominance" warnings from MSVC.
29 // MSVC is being a little too paranoid.
30 #if defined(_MSC_VER)
31 #pragma warning(push)
32 #pragma warning(disable:4250)
33 #endif /* _MSC_VER */
35 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
37 class TAO_CSD_FW_Export TAO_CSD_ORBInitializer
38 : public virtual PortableInterceptor::ORBInitializer
39 , public virtual ::CORBA::LocalObject
41 public:
42 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
44 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #if defined(_MSC_VER)
50 #pragma warning(pop)
51 #endif /* _MSC_VER */
53 #include /**/ "ace/post.h"
55 #endif /* TAO_CSD_ORB_INITIALIZER_H */