From 346d178a06b5dc1c4065450e988f9934390c561c Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 23 Jul 2007 12:29:17 +0000 Subject: Added initial 'execution-layer' to try out methods form the 0-10 execution class. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@558700 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl | 7 +++++++ qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl | 2 ++ 2 files changed, 9 insertions(+) (limited to 'qpid/cpp/gentools/templ.cpp') diff --git a/qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl b/qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl index be8dc2a6b3..06ef88c84e 100644 --- a/qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl +++ b/qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl @@ -36,6 +36,13 @@ namespace framing { class MethodContext; +class Invocable +{ +protected: + Invocable() {} + virtual ~Invocable() {} +}; + class AMQP_ServerOperations { protected: diff --git a/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl b/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl index 2e1b2ed482..093a5ffe90 100644 --- a/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl +++ b/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl @@ -100,6 +100,8 @@ ${mb_constructor_with_initializers} ${mb_server_operation_invoke} +${mb_server_operation_invoke2} + }; // class ${CLASS}${METHOD}Body ${version_namespace_end} -- cgit v1.2.1