summaryrefslogtreecommitdiff
path: root/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'gentools/templ.cpp/AMQP_ServerProxy.h.tmpl')
-rw-r--r--gentools/templ.cpp/AMQP_ServerProxy.h.tmpl21
1 files changed, 14 insertions, 7 deletions
diff --git a/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl b/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl
index a1bc3cbc9f..dd72fa17e4 100644
--- a/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl
+++ b/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl
@@ -35,19 +35,26 @@ namespace framing {
class AMQP_ServerProxy : virtual public AMQP_ServerOperations
{
- OutputHandler* out;
-
- public:
- AMQP_ServerProxy(OutputHandler* _out);
- virtual ~AMQP_ServerProxy() {}
+private:
+ OutputHandler* out;
+ u_int8_t major;
+ u_int8_t minor;
// Inner class instances
-{CLIST} {sph_inner_class_get_method}
+%{CLIST} ${sph_inner_class_instance}
+
+public:
+ AMQP_ServerProxy(OutputHandler* out, u_int8_t major, u_int8_t minor);
+ virtual ~AMQP_ServerProxy() {}
+
+ // Inner class instance get methods
+
+%{CLIST} ${sph_inner_class_get_method}
// Inner class definitions
-{CLIST} {sph_inner_class_impl}
+%{CLIST} ${sph_inner_class_defn}
}; /* class AMQP_ServerProxy */