From: Christian P. <cp...@us...> - 2005-01-24 01:19:35
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7640/System Modified Files: SharedLib.h SystemClock.h SystemError.h Thread.h ThreadKey.h Log Message: Added export-macros. Index: ThreadKey.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/ThreadKey.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ThreadKey.h 16 Jan 2005 01:57:16 -0000 1.2 +++ ThreadKey.h 24 Jan 2005 01:19:25 -0000 1.3 @@ -18,6 +18,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ +#include <pclasses/Export.h> #include <pclasses/NonCopyable.h> #include <pclasses/System/SystemError.h> @@ -33,7 +34,7 @@ This class should not be used directly, instead you should use the ThreadKey template class. */ -class ThreadKeyImpl: public NonCopyable { +class PSYSTEM_EXPORT ThreadKeyImpl: public NonCopyable { public: ThreadKeyImpl() throw(SystemError); ~ThreadKeyImpl() throw(); Index: SystemClock.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/SystemClock.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SystemClock.h 28 Dec 2004 20:34:19 -0000 1.2 +++ SystemClock.h 24 Jan 2005 01:19:25 -0000 1.3 @@ -21,6 +21,7 @@ #ifndef P_System_SystemClock_h #define P_System_SystemClock_h +#include <pclasses/Export.h> #include <pclasses/DateTime.h> #include <string> @@ -28,7 +29,7 @@ namespace System { -class SystemClock { +class PSYSTEM_EXPORT SystemClock { public: //! Operation mode for now() enum NowMode { Index: Thread.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/Thread.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Thread.h 16 Jan 2005 00:33:27 -0000 1.2 +++ Thread.h 24 Jan 2005 01:19:25 -0000 1.3 @@ -21,6 +21,7 @@ #ifndef P_System_Thread_h #define P_System_Thread_h +#include <pclasses/Export.h> #include <pclasses/Exception.h> #include <pclasses/NonCopyable.h> #include <pclasses/System/SystemError.h> @@ -29,7 +30,7 @@ namespace System { -class Thread: public NonCopyable { +class PSYSTEM_EXPORT Thread: public NonCopyable { public: Thread(bool detached) throw(); virtual ~Thread() throw(); Index: SystemError.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/SystemError.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SystemError.h 23 Dec 2004 04:32:17 -0000 1.2 +++ SystemError.h 24 Jan 2005 01:19:25 -0000 1.3 @@ -21,6 +21,7 @@ #ifndef P_System_SystemError_h #define P_System_SystemError_h +#include <pclasses/Export.h> #include <pclasses/SourceInfo.h> #include <pclasses/Exception.h> #include <pclasses/Unicode/String.h> @@ -30,7 +31,7 @@ namespace System { //! System error class -class SystemError: public RuntimeError { +class PSYSTEM_EXPORT SystemError: public RuntimeError { public: //! System error constructor /*! Index: SharedLib.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/SharedLib.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- SharedLib.h 27 Dec 2004 23:30:30 -0000 1.8 +++ SharedLib.h 24 Jan 2005 01:19:25 -0000 1.9 @@ -22,14 +22,11 @@ #define P_System_SharedLib_h #include <pclasses/pclasses-config.h> +#include <pclasses/Export.h> #include <pclasses/NonCopyable.h> #include <pclasses/Unicode/String.h> #include <pclasses/System/SystemError.h> -#ifdef PCLASSES_WITH_STL -# include <string> -#endif - namespace P { namespace System { @@ -47,7 +44,7 @@ \endcode \author Christian Prochnow <cp...@se...> */ -class SharedLib: public NonCopyable { +class PSYSTEM_EXPORT SharedLib: public NonCopyable { public: //! Function binding mode enum BindMode { @@ -113,7 +110,7 @@ by this function and will be cleaned up during application shut-down (post-main()). */ -SharedLib *openSharedLib( const std::string & path ) throw(RuntimeError); +PSYSTEM_EXPORT SharedLib *openSharedLib( const std::string & path ) throw(RuntimeError); } // !namespace System |