diff options
Diffstat (limited to 'cpp/src/Ice/ConnectionFactoryF.h')
-rw-r--r-- | cpp/src/Ice/ConnectionFactoryF.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cpp/src/Ice/ConnectionFactoryF.h b/cpp/src/Ice/ConnectionFactoryF.h new file mode 100644 index 00000000000..033d61b9761 --- /dev/null +++ b/cpp/src/Ice/ConnectionFactoryF.h @@ -0,0 +1,35 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2016 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_CONNECTION_FACTORY_F_H +#define ICE_CONNECTION_FACTORY_F_H + +#include <IceUtil/Shared.h> + +#include <Ice/Handle.h> + +namespace IceInternal +{ + +class OutgoingConnectionFactory; +IceUtil::Shared* upCast(OutgoingConnectionFactory*); +typedef IceInternal::Handle<OutgoingConnectionFactory> OutgoingConnectionFactoryPtr; + +class IncomingConnectionFactory; + +#ifdef ICE_CPP11_MAPPING +using IncomingConnectionFactoryPtr = ::std::shared_ptr<IncomingConnectionFactory>; +#else +IceUtil::Shared* upCast(IncomingConnectionFactory*); +typedef IceInternal::Handle<IncomingConnectionFactory> IncomingConnectionFactoryPtr; +#endif + +} + +#endif |