Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / Strategies / Strategies_ORBInitializer.h
blob20daa2ee1cfdd6f185890f4c0df2a34be2ff18e5
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Strategies_ORBInitializer.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 //=============================================================================
12 #ifndef TAO_STRATEGIES_ORB_INITIALIZER_H
13 #define TAO_STRATEGIES_ORB_INITIALIZER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/orbconf.h"
19 #include "tao/Strategies/strategies_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_Strategies_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_STRATEGIES_ORB_INITIALIZER_H */