summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ConnectionFactoryF.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-07-13 12:06:46 -0400
committerBernard Normier <bernard@zeroc.com>2016-07-13 12:06:46 -0400
commit30004443d55d6597f9695bfcf54a6771bc296501 (patch)
tree7e79568abd26300ef974ca22c6916044af1cb569 /cpp/src/Ice/ConnectionFactoryF.h
parentFixed for 7213 - Added check for VC120 to add PATH for Bzip2 library (diff)
downloadice-30004443d55d6597f9695bfcf54a6771bc296501.tar.bz2
ice-30004443d55d6597f9695bfcf54a6771bc296501.tar.xz
ice-30004443d55d6597f9695bfcf54a6771bc296501.zip
Various C++ cleanups
Diffstat (limited to 'cpp/src/Ice/ConnectionFactoryF.h')
-rw-r--r--cpp/src/Ice/ConnectionFactoryF.h35
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