blob: 47959d98c28a541a1b57458c7935d92df034d09f (
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
|
// **********************************************************************
//
// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
#ifndef ICE_ENDPOINT_I_F_H
#define ICE_ENDPOINT_I_F_H
#include <IceUtil/Shared.h>
#include <Ice/Handle.h>
namespace IceInternal
{
class EndpointI;
class TcpEndpointI;
class UdpEndpointI;
class WSEndpoint;
class EndpointI_connectors;
#ifdef ICE_CPP11_MAPPING // C++11 mapping
typedef ::std::shared_ptr<EndpointI> EndpointIPtr;
typedef ::std::shared_ptr<TcpEndpointI> TcpEndpointIPtr;
typedef ::std::shared_ptr<UdpEndpointI> UdpEndpointIPtr;
typedef ::std::shared_ptr<WSEndpoint> WSEndpointPtr;
typedef ::std::shared_ptr<EndpointI_connectors> EndpointI_connectorsPtr;
#else // C++98 mapping
ICE_API IceUtil::Shared* upCast(EndpointI*);
typedef Handle<EndpointI> EndpointIPtr;
ICE_API IceUtil::Shared* upCast(TcpEndpointI*);
typedef Handle<TcpEndpointI> TcpEndpointIPtr;
ICE_API IceUtil::Shared* upCast(UdpEndpointI*);
typedef Handle<UdpEndpointI> UdpEndpointIPtr;
ICE_API IceUtil::Shared* upCast(WSEndpoint*);
typedef Handle<WSEndpoint> WSEndpointPtr;
ICE_API IceUtil::Shared* upCast(EndpointI_connectors*);
typedef Handle<EndpointI_connectors> EndpointI_connectorsPtr;
#endif
}
#endif
|