[asycxx-devel] SF.net SVN: asycxx:[33] trunk
Status: Alpha
Brought to you by:
joe_steeve
|
From: <joe...@us...> - 2009-04-08 07:35:52
|
Revision: 33
http://asycxx.svn.sourceforge.net/asycxx/?rev=33&view=rev
Author: joe_steeve
Date: 2009-04-08 07:35:50 +0000 (Wed, 08 Apr 2009)
Log Message:
-----------
moved class:MsgBus into 'asycxx' namespace
From: Joe Steeve <js...@hi...>
Modified Paths:
--------------
trunk/include/asycxx/MsgBus.h
trunk/src/MsgBus.cxx
Modified: trunk/include/asycxx/MsgBus.h
===================================================================
--- trunk/include/asycxx/MsgBus.h 2009-04-08 07:35:06 UTC (rev 32)
+++ trunk/include/asycxx/MsgBus.h 2009-04-08 07:35:50 UTC (rev 33)
@@ -27,21 +27,25 @@
* time of construction. This class assumes ownership of the
* MsgHandler and destroys it when this is destroyed.
*/
-class MsgHandler;
-class MsgBus
+namespace asycxx
{
-public:
- MsgBus (MsgHandler *handler);
- virtual ~MsgBus ();
+ class MsgHandler;
- virtual void SendMsg (DataBuffer *msg) = 0;
+ class MsgBus
+ {
+ public:
+ MsgBus (MsgHandler *handler);
+ virtual ~MsgBus ();
-protected:
- MsgHandler *m_Handler;
+ virtual void SendMsg (DataBuffer *msg) = 0;
-};
+ protected:
+ MsgHandler *m_Handler;
+ };
+}
+
#endif /* __HIPRO_ASYCXX__MSG_BUS_H__ */
/*
Modified: trunk/src/MsgBus.cxx
===================================================================
--- trunk/src/MsgBus.cxx 2009-04-08 07:35:06 UTC (rev 32)
+++ trunk/src/MsgBus.cxx 2009-04-08 07:35:50 UTC (rev 33)
@@ -19,6 +19,8 @@
#include <asycxx/MsgBus.h>
#include <asycxx/MsgHandler.h>
+using namespace asycxx;
+
MsgBus::MsgBus (MsgHandler *handler)
{
ASSERT ((handler != NULL), "cannot use a NULL MsgHandler");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|