From 28b22a308cb6cf0232067636fb6676a4c96d82f7 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 1 Aug 2007 16:50:33 +0000 Subject: * src/generate.sh: Moved requirements test to configure.ac * rubygen: Cleanup and improvements, template for cluster work. * configure.ac: - support for ruby code generator + cleanup. - moved "can generate" tests to configure.ac - removed redundant APR stuff. * bootstrap: Remove codegen from bootstrap, all in config/make. * src/Makefile.am (libqpidcommon_la_LIBADD): - Ruby code generator. - Improvements to existing generator rules. - Removed APR stuff. * configure.ac (CPPUNIT_CXXFLAGS): Removed APR stuff. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@561869 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/rubygen/templates/frame_body_lists.rb | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 cpp/rubygen/templates/frame_body_lists.rb (limited to 'cpp/rubygen/templates') diff --git a/cpp/rubygen/templates/frame_body_lists.rb b/cpp/rubygen/templates/frame_body_lists.rb new file mode 100644 index 0000000000..33c416fe84 --- /dev/null +++ b/cpp/rubygen/templates/frame_body_lists.rb @@ -0,0 +1,31 @@ +$: << ".." # Include .. in load path +require 'cppgen' + +class FrameBodyListsGen < CppGen + + def initialize(outdir, amqp) + super(outdir, amqp); + end + + def generate + h_file("qpid/framing/frame_body_lists.h") { + gen <