summaryrefslogtreecommitdiff
path: root/TAO/tao/TransportCurrent/IIOP_Current_Loader.h
blob: 7f49533fa037d71b22e979604413d62432ae043a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* -*- C++ -*- */

//=============================================================================
/**
 *  @file    IIOP_Current_Loader.h
 *
 *  $Id$
 *
 *  @author Iliyan Jeliazkov <iliyan@ociweb.com>
 */
//=============================================================================

#ifndef TAO_TRANSPORT_IIOP_TRAITS_LOADER_H
#define TAO_TRANSPORT_IIOP_TRAITS_LOADER_H

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "tao/TransportCurrent/Current_Loader.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

namespace TAO
{

  namespace Transport
  {

    namespace IIOP
    {
      class TAO_Transport_Current_Export Current_Loader
        : public TAO::Transport::Current_Loader
      {
      public:
        /// Initializes object when dynamic linking occurs.
        virtual int init (int argc, ACE_TCHAR *argv[]);
      };
    }
  }
}



#if defined (TAO_AS_STATIC_LIBS)
namespace TAO
{
  namespace Transport
  {
    namespace IIOP
    {
      int current_static_initializer (void);
    }
  }
}

#endif /* defined (TAO_AS_STATIC_LIBS) */


TAO_END_VERSIONED_NAMESPACE_DECL

ACE_STATIC_SVC_DECLARE_EXPORT (TAO_Transport_Current,
                               TAO_Transport_IIOP_Current_Loader)

ACE_FACTORY_DECLARE (TAO_Transport_Current,
                     TAO_Transport_IIOP_Current_Loader)

#endif /* TAO_TRANSPORT_IIOP_TRAITS_LOADER_H */