diff options
Diffstat (limited to 'qpid/cpp/rubygen')
-rw-r--r-- | qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb | 1 | ||||
-rwxr-xr-x | qpid/cpp/rubygen/framing.0-10/constants.rb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb b/qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb index 95c79fd1a4..28a5d94e32 100644 --- a/qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb +++ b/qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb @@ -35,6 +35,7 @@ class MethodBodyFactoryGen < CppGen include "qpid/framing/BodyFactory" @amqp.methods_.each { |m| include "qpid/framing/#{m.body_name}" } include "qpid/Exception.h" + include "qpid/Msg.h" genl namespace(@namespace) { scope("boost::intrusive_ptr<AMQMethodBody> #{@classname}::create(ClassId c, MethodId m) {") { diff --git a/qpid/cpp/rubygen/framing.0-10/constants.rb b/qpid/cpp/rubygen/framing.0-10/constants.rb index 5c1c1047f7..85bfb96ac0 100755 --- a/qpid/cpp/rubygen/framing.0-10/constants.rb +++ b/qpid/cpp/rubygen/framing.0-10/constants.rb @@ -78,6 +78,7 @@ EOS cpp_file(path) { include(path); include("qpid/Exception.h") + include("qpid/Msg.h") include("<ostream>") namespace(@namespace) { scope("const char* typeName(TypeCode t) {") { @@ -181,6 +182,7 @@ EOS def reply_exceptions_cpp() cpp_file("#{@dir}/reply_exceptions") { include "#{@dir}/reply_exceptions" + include "qpid/Msg.h" include "<sstream>" include "<assert.h>" namespace("qpid::framing") { |