]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface.h
...
[cpPlugins.git] / lib / cpPlugins / Interface.h
index 61ddf3ba76f7b8fd6c46e84b46669af4d3576e20..451c0e07e062c66989ca3f6c8c101719d20dc3e6 100644 (file)
@@ -16,7 +16,7 @@ namespace cpPlugins
   public:
     typedef Interface Self;
 
-    typedef cpPlugins::ProcessObject::Pointer ( *TCreator )( );
+    typedef void* ( *TCreator )( );
     typedef std::pair< std::string, TCreator >               TDynFunc;
     typedef std::map< std::string, TDynFunc >                TDynFilter;
     typedef std::map< std::string, TDynFilter >              TDynFilters;
@@ -29,7 +29,10 @@ namespace cpPlugins
 
     const TFilters& GetFilters( );
 
+    bool LoadConfiguration( const std::string& filename );
+    bool SaveConfiguration( const std::string& filename ) const;
     void LoadPluginFile( const std::string& filename );
+    unsigned int LoadPluginDir( const std::string& dirname );
     void UnloadAll( );
 
     cpPlugins::ProcessObject::Pointer Create(