]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface.h
...
[cpPlugins.git] / lib / cpPlugins / Interface.h
index 0f4655453df15b46e33d344e766d9ef8c3b1f996..86c46b9ce18b60535a5cff5f2583c16faed42ee8 100644 (file)
@@ -8,10 +8,6 @@
 #include <utility>
 #include <vector>
 
-/* TODO
-   #include <string>
-*/
-
 namespace cpPlugins
 {
   /**
@@ -31,14 +27,6 @@ namespace cpPlugins
     };
     typedef std::map< std::string, std::map< std::string, TCreatorData > > TFilters;
 
-    /* TODO
-       typedef std::pair< std::string, TCreator >               TDynFunc;
-       typedef std::map< std::string, TDynFunc >                TDynFilter;
-       typedef std::map< std::string, TDynFilter >              TDynFilters;
-       typedef std::pair< std::string, void* >                  TDynFileInfo;
-       typedef std::map< std::string, TDynFileInfo >            TDynLibraries;
-    */
-
   public:
     Interface( );
     virtual ~Interface( );
@@ -51,6 +39,9 @@ namespace cpPlugins
 
     void UpdateEnvironments( const std::string& new_environment );
     void LoadEnvironment( );
+    void SaveEnvironments( const std::string& dir ) const;
+    void OpenEnvironments( const std::string& dir );
+
     void LoadFile( const std::string& fname );
     void LoadPlugin( const std::string& pname );
     void LoadDirectory( const std::string& dirname );