summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/Functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/FreezeScript/Functions.h')
-rw-r--r--cpp/src/FreezeScript/Functions.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/cpp/src/FreezeScript/Functions.h b/cpp/src/FreezeScript/Functions.h
new file mode 100644
index 00000000000..b644f10ed5c
--- /dev/null
+++ b/cpp/src/FreezeScript/Functions.h
@@ -0,0 +1,26 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2011 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 FREEZE_SCRIPT_FUNCTIONS_H
+#define FREEZE_SCRIPT_FUNCTIONS_H
+
+#include <FreezeScript/Data.h>
+
+namespace FreezeScript
+{
+
+bool invokeGlobalFunction(const Ice::CommunicatorPtr&, const std::string&, const DataList&, DataPtr&,
+ const DataFactoryPtr&, const ErrorReporterPtr&);
+
+bool invokeMemberFunction(const std::string&, const DataPtr&, const DataList&, DataPtr&, const DataFactoryPtr&,
+ const ErrorReporterPtr&);
+
+}
+
+#endif