summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/ValueF.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/ValueF.h')
-rw-r--r--cpp/include/Ice/ValueF.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/cpp/include/Ice/ValueF.h b/cpp/include/Ice/ValueF.h
new file mode 100644
index 00000000000..d441f6f096b
--- /dev/null
+++ b/cpp/include/Ice/ValueF.h
@@ -0,0 +1,34 @@
+// **********************************************************************
+//
+// 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_VALUE_F_H
+#define ICE_VALUE_F_H
+
+#include <IceUtil/Shared.h>
+#include <Ice/Handle.h>
+#include <Ice/ObjectF.h>
+
+#ifdef ICE_CPP11_MAPPING // C++11 mapping
+namespace Ice
+{
+
+class Value;
+typedef ::std::shared_ptr< ::Ice::Value> ValuePtr;
+ICE_API void __patch(ValuePtr&, const ValuePtr&);
+
+}
+#else // C++98 mapping
+//
+// Define value as an alias to Object
+//
+//typedef ::Ice::Object Value;
+//typedef ::Ice::ObjectPtr ValuePtr;
+#endif
+
+#endif