diff options
author | Stephen D. Huston <shuston@apache.org> | 2009-03-12 20:55:34 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2009-03-12 20:55:34 +0000 |
commit | 0398410e8894287da530cfb63d6344817445bfc2 (patch) | |
tree | e4d789cd965f25c8fb0a51e1cf71df0a5330e73b /cpp/rubygen/framing.0-10/MethodBodyDefaultVisitor.rb | |
parent | 47db7ebfc533d2dc8a3dfc3b9d1273730b8779e6 (diff) | |
download | qpid-python-0398410e8894287da530cfb63d6344817445bfc2.tar.gz |
Changes to build DLLs instead of static libs on Windows; primarily added decorators to exported names. Fixes QPID-1673
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@753014 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/framing.0-10/MethodBodyDefaultVisitor.rb')
-rwxr-xr-x | cpp/rubygen/framing.0-10/MethodBodyDefaultVisitor.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/rubygen/framing.0-10/MethodBodyDefaultVisitor.rb b/cpp/rubygen/framing.0-10/MethodBodyDefaultVisitor.rb index 92bd10c9dd..3bacdbd812 100755 --- a/cpp/rubygen/framing.0-10/MethodBodyDefaultVisitor.rb +++ b/cpp/rubygen/framing.0-10/MethodBodyDefaultVisitor.rb @@ -30,13 +30,14 @@ class MethodBodyDefaultVisitorGen < CppGen def generate() h_file(@filename) { include "qpid/framing/MethodBodyConstVisitor" + include "qpid/CommonImportExport.h" namespace(@namespace) { genl "class AMQMethodBody;" cpp_class(@classname, "public MethodBodyConstVisitor") { genl "public:" genl "virtual void defaultVisit(const AMQMethodBody&) = 0;" @amqp.methods_.each { |m| - genl "virtual void visit(const #{m.body_name}&);" } + genl "QPID_COMMON_EXTERN virtual void visit(const #{m.body_name}&);" } }}} cpp_file(@filename) { |