]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/OS/DLLManager.h
...
[cpPlugins.git] / lib / cpPlugins / OS / DLLManager.h
index 5730a3d89af7744e846be8c7f5ed9e63f243630a..9e6460bbdbc79bc62e36f293fa76507d9ddf17e1 100644 (file)
@@ -2,6 +2,7 @@
 #define __cpPlugins__OS__DLLManager__h__
 
 #include <cpPlugins/Config.h>
+#include <iostream>
 
 namespace cpPlugins
 {
@@ -12,9 +13,9 @@ namespace cpPlugins
     class cpPlugins_EXPORT DLLManager
     {
     public:
-      static void* Load( const std::string& fname, std::string& error );
-      static void UnLoad( void* hnd );
-      static void* GetFunctionHandle( void* hnd, const std::string& function );
+      static void* Open( const std::string& filename );
+      static void Close( void* hnd );
+      static void* Sym( void* hnd, const std::string& symbol );
     };
 
   } // ecapseman