diff options
author | Jose <jose@zeroc.com> | 2015-12-01 17:36:19 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-12-01 17:36:19 +0100 |
commit | 2029ff368e49fae489b8ec8fc12f7d126b182dfb (patch) | |
tree | 6075d652b7851831c39e6f22004d8720864f1a60 /cpp/src/Ice/EndpointIF.h | |
parent | The default LMDB map size for IceGrid and IceStorm is now 10MB (Windows) (diff) | |
download | ice-2029ff368e49fae489b8ec8fc12f7d126b182dfb.tar.bz2 ice-2029ff368e49fae489b8ec8fc12f7d126b182dfb.tar.xz ice-2029ff368e49fae489b8ec8fc12f7d126b182dfb.zip |
C++11 mapping initial commit
Diffstat (limited to 'cpp/src/Ice/EndpointIF.h')
-rw-r--r-- | cpp/src/Ice/EndpointIF.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/cpp/src/Ice/EndpointIF.h b/cpp/src/Ice/EndpointIF.h index b851a8871b9..47959d98c28 100644 --- a/cpp/src/Ice/EndpointIF.h +++ b/cpp/src/Ice/EndpointIF.h @@ -17,25 +17,38 @@ 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; -class TcpEndpointI; ICE_API IceUtil::Shared* upCast(TcpEndpointI*); typedef Handle<TcpEndpointI> TcpEndpointIPtr; -class UdpEndpointI; ICE_API IceUtil::Shared* upCast(UdpEndpointI*); typedef Handle<UdpEndpointI> UdpEndpointIPtr; -class WSEndpoint; ICE_API IceUtil::Shared* upCast(WSEndpoint*); typedef Handle<WSEndpoint> WSEndpointPtr; -class EndpointI_connectors; ICE_API IceUtil::Shared* upCast(EndpointI_connectors*); typedef Handle<EndpointI_connectors> EndpointI_connectorsPtr; +#endif + } #endif |