]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface.h
...
[cpPlugins.git] / lib / cpPlugins / Interface.h
index 61ddf3ba76f7b8fd6c46e84b46669af4d3576e20..e2f5b0c814ed6d4381e89402bf1e1a66496e3126 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,6 +29,8 @@ namespace cpPlugins
 
     const TFilters& GetFilters( );
 
+    bool LoadConfiguration( const std::string& filename );
+    bool SaveConfiguration( const std::string& filename ) const;
     void LoadPluginFile( const std::string& filename );
     void UnloadAll( );