activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1405945 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil: CmsDestinationAccessor.h DestinationResolver.h MessageCreator.h ProducerCallback.h SessionCallback.h
Date Mon, 05 Nov 2012 20:40:39 GMT
Author: tabish
Date: Mon Nov  5 20:40:38 2012
New Revision: 1405945

URL: http://svn.apache.org/viewvc?rev=1405945&view=rev
Log:
Forwards declare some classes and reduce includes in headers, speeds up compile

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsDestinationAccessor.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/SessionCallback.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsDestinationAccessor.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsDestinationAccessor.h?rev=1405945&r1=1405944&r2=1405945&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsDestinationAccessor.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsDestinationAccessor.h
Mon Nov  5 20:40:38 2012
@@ -87,7 +87,7 @@ namespace cmsutil {
 
         virtual void destroy();
 
-    virtual cms::Destination* resolveDestinationName(cms::Session* session, const std::string&
destName);
+        virtual cms::Destination* resolveDestinationName(cms::Session* session, const std::string&
destName);
 
         virtual void checkDestinationResolver();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h?rev=1405945&r1=1405944&r2=1405945&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h
Mon Nov  5 20:40:38 2012
@@ -17,9 +17,13 @@
 #ifndef _ACTIVEMQ_CMSUTIL_DESTINATIONRESOLVER_H_
 #define _ACTIVEMQ_CMSUTIL_DESTINATIONRESOLVER_H_
 
-#include <cms/Session.h>
 #include <activemq/util/Config.h>
+#include <string>
 
+namespace cms {
+    class Session;
+    class Destination;
+}
 namespace activemq {
 namespace cmsutil {
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h?rev=1405945&r1=1405944&r2=1405945&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h Mon
Nov  5 20:40:38 2012
@@ -18,10 +18,12 @@
 #ifndef _ACTIVEMQ_CMSUTIL_MESSAGECREATOR_H_
 #define _ACTIVEMQ_CMSUTIL_MESSAGECREATOR_H_
 
-#include <cms/Session.h>
-#include <cms/Message.h>
 #include <activemq/util/Config.h>
 
+namespace cms{
+    class Session;
+    class Message;
+}
 namespace activemq {
 namespace cmsutil {
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h?rev=1405945&r1=1405944&r2=1405945&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h
Mon Nov  5 20:40:38 2012
@@ -18,10 +18,12 @@
 #ifndef _ACTIVEMQ_CMSUTIL_PRODUCERCALLBACK_H_
 #define _ACTIVEMQ_CMSUTIL_PRODUCERCALLBACK_H_
 
-#include <cms/Session.h>
-#include <cms/MessageProducer.h>
 #include <activemq/util/Config.h>
 
+namespace cms {
+    class Session;
+    class MessageProducer;
+}
 namespace activemq {
 namespace cmsutil {
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/SessionCallback.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/SessionCallback.h?rev=1405945&r1=1405944&r2=1405945&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/SessionCallback.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/SessionCallback.h Mon
Nov  5 20:40:38 2012
@@ -18,9 +18,11 @@
 #ifndef _ACTIVEMQ_CMSUTIL_SESSIONCALLBACK_H_
 #define _ACTIVEMQ_CMSUTIL_SESSIONCALLBACK_H_
 
-#include <cms/Session.h>
 #include <activemq/util/Config.h>
 
+namespace cms {
+    class Session;
+}
 namespace activemq {
 namespace cmsutil {
 



Mime
View raw message