summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Operation.h
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/IcePHP/Operation.h')
-rw-r--r--php/src/IcePHP/Operation.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/php/src/IcePHP/Operation.h b/php/src/IcePHP/Operation.h
new file mode 100644
index 00000000000..aaa39b8c873
--- /dev/null
+++ b/php/src/IcePHP/Operation.h
@@ -0,0 +1,40 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2009 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 ICEPHP_OPERATION_H
+#define ICEPHP_OPERATION_H
+
+#include <Config.h>
+
+//
+// Global functions.
+//
+extern "C"
+{
+ZEND_FUNCTION(IcePHP_defineOperation);
+}
+
+#define ICEPHP_OPERATION_FUNCTIONS \
+ ZEND_FE(IcePHP_defineOperation, NULL)
+
+namespace IcePHP
+{
+
+class Operation : public IceUtil::Shared
+{
+public:
+
+ virtual zend_function* function() = 0;
+
+};
+typedef IceUtil::Handle<Operation> OperationPtr;
+
+}
+
+#endif