summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ACMF.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/ACMF.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/ACMF.h')
-rw-r--r--cpp/src/Ice/ACMF.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/cpp/src/Ice/ACMF.h b/cpp/src/Ice/ACMF.h
new file mode 100644
index 00000000000..9f7f17d26fa
--- /dev/null
+++ b/cpp/src/Ice/ACMF.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_ACM_F_H
+#define ICE_ACM_F_H
+
+#include <IceUtil/Shared.h>
+#include <Ice/Handle.h>
+
+namespace IceInternal
+{
+
+class ACMMonitor;
+class FactoryACMMonitor;
+
+#ifdef ICE_CPP11_MAPPING
+using ACMMonitorPtr = ::std::shared_ptr<ACMMonitor>;
+using FactoryACMMonitorPtr = ::std::shared_ptr<FactoryACMMonitor>;
+#else
+IceUtil::Shared* upCast(ACMMonitor*);
+typedef IceInternal::Handle<ACMMonitor> ACMMonitorPtr;
+
+IceUtil::Shared* upCast(FactoryACMMonitor*);
+typedef IceInternal::Handle<FactoryACMMonitor> FactoryACMMonitorPtr;
+#endif
+
+}
+
+#endif