summaryrefslogtreecommitdiff
path: root/cpp/rubygen
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-02-25 20:53:08 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-02-25 20:53:08 +0000
commitd678d87a20b9ff24967cc3a00f94bc6a2e4bea35 (patch)
tree046824f8b8bcf449d6a9f0f8182615f95af32801 /cpp/rubygen
parenta5f9d5fe6f05296351e0ba5e723eaa7f46ce28b0 (diff)
downloadqpid-python-d678d87a20b9ff24967cc3a00f94bc6a2e4bea35.tar.gz
Removed unecessary include of Msg.h in Exception.h
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916453 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen')
-rw-r--r--cpp/rubygen/framing.0-10/MethodBodyFactory.rb1
-rwxr-xr-xcpp/rubygen/framing.0-10/constants.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/cpp/rubygen/framing.0-10/MethodBodyFactory.rb b/cpp/rubygen/framing.0-10/MethodBodyFactory.rb
index 95c79fd1a4..28a5d94e32 100644
--- a/cpp/rubygen/framing.0-10/MethodBodyFactory.rb
+++ b/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/cpp/rubygen/framing.0-10/constants.rb b/cpp/rubygen/framing.0-10/constants.rb
index 5c1c1047f7..85bfb96ac0 100755
--- a/cpp/rubygen/framing.0-10/constants.rb
+++ b/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") {