You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2009/10/05 19:03:41 UTC

svn commit: r821916 - /qpid/trunk/qpid/cpp/rubygen/framing.0-10/structs.rb

Author: aconway
Date: Mon Oct  5 17:03:41 2009
New Revision: 821916

URL: http://svn.apache.org/viewvc?rev=821916&view=rev
Log:
Removed AMQP method body classes from public API.

Modified:
    qpid/trunk/qpid/cpp/rubygen/framing.0-10/structs.rb

Modified: qpid/trunk/qpid/cpp/rubygen/framing.0-10/structs.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/rubygen/framing.0-10/structs.rb?rev=821916&r1=821915&r2=821916&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/rubygen/framing.0-10/structs.rb (original)
+++ qpid/trunk/qpid/cpp/rubygen/framing.0-10/structs.rb Mon Oct  5 17:03:41 2009
@@ -381,9 +381,10 @@
       else
         inheritance = ": public AMQMethodBody"
       end
+    else
+      public_api("qpid/framing/#{classname}.h") # Non-method structs are public
     end
 
-    public_api("qpid/framing/#{classname}.h")
     h_file("qpid/framing/#{classname}.h") {       
       if (s.kind_of? AmqpMethod)
         gen <<EOS



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org