[Cppunit-cvs] cppunit2/include/opentest sharedmemorytransport.h,1.1,1.2
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-06-30 21:48:21
|
Update of /cvsroot/cppunit/cppunit2/include/opentest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14156/include/opentest Modified Files: sharedmemorytransport.h Log Message: * rough implementation of the overall logic, need heavy testing Index: sharedmemorytransport.h =================================================================== RCS file: /cvsroot/cppunit/cppunit2/include/opentest/sharedmemorytransport.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** sharedmemorytransport.h 26 Jun 2005 21:24:30 -0000 1.1 --- sharedmemorytransport.h 30 Jun 2005 21:48:09 -0000 1.2 *************** *** 4,12 **** # include <opentest/forwards.h> namespace OpenTest { ! class ShareMemoryError { public: }; --- 4,22 ---- # include <opentest/forwards.h> + #ifndef OPENTEST_NO_SHAREDMEMORYTRANSPORT + namespace OpenTest { ! class SharedMemoryError : public std::runtime_error { public: + SharedMemoryError( const char *message ) + : std::runtime_error( message ) + { + } + + ~SharedMemoryError() throw() + { + } }; *************** *** 37,40 **** --- 47,52 ---- void send( const RemoteMessagePtr &message ); + void dispatchReceivedMessages( RemoteMessageServer &server ); + private: SharedMemoryTransportImpl *impl_; *************** *** 43,46 **** --- 55,60 ---- } // namespace OpenTest + #endif // OPENTEST_NO_SHAREDMEMORYTRANSPORT + #endif // OPENTEST_SHAREDMEMORYTRANSPORT_H_INCLUDED |