Update of /cvsroot/pclasses/pclasses2/include/pclasses/System
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13878
Modified Files:
SharedLib.h
Log Message:
added openSharedLib() free function
Index: SharedLib.h
===================================================================
RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/SharedLib.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- SharedLib.h 23 Dec 2004 05:27:48 -0000 1.3
+++ SharedLib.h 23 Dec 2004 21:39:51 -0000 1.4
@@ -94,6 +94,18 @@
unsigned long _handle;
};
+#ifdef PCLASSES_WITH_STL
+/**
+ Simply opens the given DLL name, using the platform-specific
+ SharedLib handler.
+
+ The caller does not own the returned pointer - it is owned
+ by this function and will be cleaned up during application
+ shut-down (post-main()).
+*/
+ SharedLib * openSharedLib( const std::string & path ) throw(RuntimeError);
+#endif // PCLASSES_WITH_STL
+
} // !namespace System
} // !namespace P
|