From: Christian P. <cp...@us...> - 2005-01-24 01:19:36
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7640 Modified Files: Alloc.h Log Message: Added export-macros. Index: Alloc.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Alloc.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- Alloc.h 22 Dec 2004 17:54:38 -0000 1.1.1.1 +++ Alloc.h 24 Jan 2005 01:19:25 -0000 1.2 @@ -18,9 +18,10 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#ifndef _P_Alloc_h_ -#define _P_Alloc_h_ +#ifndef P_Alloc_h +#define P_Alloc_h +#include <pclasses/Export.h> #include <pclasses/IntTypes.h> #include <pclasses/Exception.h> #include <new> @@ -28,14 +29,14 @@ namespace P { //! Out-of-memory exception -class OutOfMemory: public RuntimeError { +class PCORE_EXPORT OutOfMemory: public RuntimeError { public: OutOfMemory(const SourceInfo& si) throw(); ~OutOfMemory(); }; //! Allocator base-class -class Allocator { +class PCORE_EXPORT Allocator { public: Allocator(); virtual ~Allocator(); @@ -45,7 +46,7 @@ }; //! Allocator using malloc() -class MallocAllocator: public Allocator { +class PCORE_EXPORT MallocAllocator: public Allocator { public: MallocAllocator(); ~MallocAllocator(); |