From 8b43d5387fe0fa5039b538fc0fc5294ec8da6f08 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 1 Dec 2006 10:56:58 +0000 Subject: Revised generation of includes inline with latst build changes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@481221 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/gentools/src/org/apache/qpid/gentools/CppGenerator.java | 2 +- qpid/gentools/templ.cpp/AMQP_ClientOperations.h.tmpl | 8 ++++---- qpid/gentools/templ.cpp/AMQP_ClientProxy.cpp.tmpl | 4 ++-- qpid/gentools/templ.cpp/AMQP_ClientProxy.h.tmpl | 6 +++--- qpid/gentools/templ.cpp/AMQP_MethodVersionMap.cpp.tmpl | 2 +- qpid/gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl | 2 +- qpid/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl | 8 ++++---- qpid/gentools/templ.cpp/AMQP_ServerProxy.cpp.tmpl | 4 ++-- qpid/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl | 6 +++--- qpid/gentools/templ.cpp/MethodBodyClass.h.tmpl | 8 ++++---- 10 files changed, 25 insertions(+), 25 deletions(-) diff --git a/qpid/gentools/src/org/apache/qpid/gentools/CppGenerator.java b/qpid/gentools/src/org/apache/qpid/gentools/CppGenerator.java index f6dea0f669..26a9950d8a 100644 --- a/qpid/gentools/src/org/apache/qpid/gentools/CppGenerator.java +++ b/qpid/gentools/src/org/apache/qpid/gentools/CppGenerator.java @@ -1125,7 +1125,7 @@ public class CppGenerator extends Generator while (mItr.hasNext()) { AmqpMethod method = thisClass.methodMap.get(mItr.next()); - sb.append(indent + "#include " + cr); } return sb.toString(); diff --git a/qpid/gentools/templ.cpp/AMQP_ClientOperations.h.tmpl b/qpid/gentools/templ.cpp/AMQP_ClientOperations.h.tmpl index 4a92c9c422..64471e4d61 100644 --- a/qpid/gentools/templ.cpp/AMQP_ClientOperations.h.tmpl +++ b/qpid/gentools/templ.cpp/AMQP_ClientOperations.h.tmpl @@ -31,9 +31,9 @@ #ifndef _AMQP_ClientOperations_ #define _AMQP_ClientOperations_ -#include -#include -#include +#include +#include +#include namespace qpid { namespace framing { @@ -62,7 +62,7 @@ public: } // Include framing constant declarations - #include + #include // Inner classes diff --git a/qpid/gentools/templ.cpp/AMQP_ClientProxy.cpp.tmpl b/qpid/gentools/templ.cpp/AMQP_ClientProxy.cpp.tmpl index fe9e3b0ff1..b9d8263cea 100644 --- a/qpid/gentools/templ.cpp/AMQP_ClientProxy.cpp.tmpl +++ b/qpid/gentools/templ.cpp/AMQP_ClientProxy.cpp.tmpl @@ -28,8 +28,8 @@ #include -#include -#include +#include +#include %{MLIST} ${cpc_method_body_include} namespace qpid { diff --git a/qpid/gentools/templ.cpp/AMQP_ClientProxy.h.tmpl b/qpid/gentools/templ.cpp/AMQP_ClientProxy.h.tmpl index 48e2468674..62df7baf18 100644 --- a/qpid/gentools/templ.cpp/AMQP_ClientProxy.h.tmpl +++ b/qpid/gentools/templ.cpp/AMQP_ClientProxy.h.tmpl @@ -29,9 +29,9 @@ #ifndef _AMQP_ClientProxy_ #define _AMQP_ClientProxy_ -#include -#include -#include +#include +#include +#include namespace qpid { namespace framing { diff --git a/qpid/gentools/templ.cpp/AMQP_MethodVersionMap.cpp.tmpl b/qpid/gentools/templ.cpp/AMQP_MethodVersionMap.cpp.tmpl index 4741fed638..6ab7812499 100644 --- a/qpid/gentools/templ.cpp/AMQP_MethodVersionMap.cpp.tmpl +++ b/qpid/gentools/templ.cpp/AMQP_MethodVersionMap.cpp.tmpl @@ -28,7 +28,7 @@ #include -#include +#include namespace qpid { diff --git a/qpid/gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl b/qpid/gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl index 6b1418def5..d3ad37a8e0 100644 --- a/qpid/gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl +++ b/qpid/gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl @@ -30,7 +30,7 @@ #define _METHOD_VERSION_MAP_H_ #include -#include +#include %{MLIST} ${mc_method_body_include} diff --git a/qpid/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl b/qpid/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl index 7953e5be21..5728a4ce31 100644 --- a/qpid/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl +++ b/qpid/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl @@ -31,9 +31,9 @@ #include -#include -#include -#include +#include +#include +#include namespace qpid { namespace framing { @@ -62,7 +62,7 @@ public: } // Include framing constant declarations - #include + #include // Inner classes diff --git a/qpid/gentools/templ.cpp/AMQP_ServerProxy.cpp.tmpl b/qpid/gentools/templ.cpp/AMQP_ServerProxy.cpp.tmpl index 3bf043c51d..cce369f98b 100644 --- a/qpid/gentools/templ.cpp/AMQP_ServerProxy.cpp.tmpl +++ b/qpid/gentools/templ.cpp/AMQP_ServerProxy.cpp.tmpl @@ -28,8 +28,8 @@ #include -#include -#include +#include +#include %{MLIST} ${spc_method_body_include} namespace qpid { diff --git a/qpid/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl b/qpid/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl index 33773116e3..9275c64590 100644 --- a/qpid/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl +++ b/qpid/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl @@ -29,9 +29,9 @@ #ifndef _AMQP_ServerProxy_ #define _AMQP_ServerProxy_ -#include -#include -#include +#include +#include +#include namespace qpid { namespace framing { diff --git a/qpid/gentools/templ.cpp/MethodBodyClass.h.tmpl b/qpid/gentools/templ.cpp/MethodBodyClass.h.tmpl index 2a562cadcf..be9fb82e31 100644 --- a/qpid/gentools/templ.cpp/MethodBodyClass.h.tmpl +++ b/qpid/gentools/templ.cpp/MethodBodyClass.h.tmpl @@ -29,10 +29,10 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include #ifndef _${CLASS}${METHOD}Body_ #define _${CLASS}${METHOD}Body_ -- cgit v1.2.1