Update of /cvsroot/pclasses/pclasses2/include/pclasses/System
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31813/include/pclasses/System
Modified Files:
SharedLib.h
Log Message:
Removed the #ifdef PCLASSES_HAVE_STL blockers. Christian agreed over email that we need STL.
Index: SharedLib.h
===================================================================
RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/SharedLib.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- SharedLib.h 23 Dec 2004 21:39:51 -0000 1.4
+++ SharedLib.h 24 Dec 2004 19:17:45 -0000 1.5
@@ -66,10 +66,8 @@
SharedLib(const Unicode::String& name, BindMode mode = BindLazy)
throw(SystemError);
-#ifdef PCLASSES_WITH_STL
SharedLib(const std::string& name, BindMode mode = BindLazy)
throw(SystemError);
-#endif
//! Destructor
/*!
@@ -86,9 +84,11 @@
*/
void* operator[](const char* symbol) throw(RuntimeError);
-#ifdef PCLASSES_WITH_STL
void* operator[](const std::string& symbol) throw(RuntimeError);
-#endif
+
+ // TODO:
+ // static std::string sharedLibExtension();
+ // returns "so", "dll", etc.
private:
unsigned long _handle;
|