Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / TransportCurrent / IIOP_Current_Loader.h
blob125b0ea296fe35c55534a33c42818b778fa345a6
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file IIOP_Current_Loader.h
7 * @author Iliyan Jeliazkov <iliyan@ociweb.com>
8 */
9 //=============================================================================
11 #ifndef TAO_TRANSPORT_IIOP_TRAITS_LOADER_H
12 #define TAO_TRANSPORT_IIOP_TRAITS_LOADER_H
14 #if !defined (ACE_LACKS_PRAGMA_ONCE)
15 # pragma once
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 #if TAO_HAS_TRANSPORT_CURRENT == 1
20 #include "tao/TransportCurrent/Current_Loader.h"
22 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
24 namespace TAO
26 namespace Transport
28 namespace IIOP
30 class TAO_Transport_Current_Export Current_Loader
31 : public TAO::Transport::Current_Loader
33 public:
34 /// Initializes object when dynamic linking occurs.
35 virtual int init (int argc, ACE_TCHAR *argv[]);
36 virtual ~Current_Loader ();
37 Current_Loader ();
43 #if defined (TAO_AS_STATIC_LIBS)
44 namespace TAO
46 namespace Transport
48 namespace IIOP
50 int current_static_initializer ();
55 #endif /* defined (TAO_AS_STATIC_LIBS) */
57 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_Transport_Current,
58 TAO_Transport_IIOP_Current_Loader)
60 ACE_FACTORY_DECLARE (TAO_Transport_Current,
61 TAO_Transport_IIOP_Current_Loader)
63 TAO_END_VERSIONED_NAMESPACE_DECL
65 #endif /* TAO_HAS_TRANSPORT_CURRENT == 1 */
67 #endif /* TAO_TRANSPORT_IIOP_TRAITS_LOADER_H */