]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Interface.h
MPR finished
[cpPlugins.git] / lib / cpPlugins / Interface / Interface.h
index 585e2d5fd4b260824390559a4cc204fb6766825d..34f29a80cdd11067a6a9e2b3318d7e5d573f9e59 100644 (file)
@@ -19,7 +19,7 @@ namespace cpPlugins
     class cpPlugins_Interface_EXPORT Interface
     {
     public:
-      typedef std::vector< ObjectProvider* >        TProviders;
+      typedef std::vector< ProcessObjectProvider* > TProviders;
       typedef std::map< std::string, unsigned int > TClasses;
 
       typedef TProviders::const_iterator TProvidersIterator;
@@ -29,18 +29,17 @@ namespace cpPlugins
       Interface( );
       virtual ~Interface( );
 
-      /// Plugin access
+      // Plugin access
       TClasses& GetClasses( );
       const TClasses& GetClasses( ) const;
-      Object::Pointer CreateObject( const std::string& name ) const;
-      ProcessObject::Pointer CreateProcessObject(
-        const std::string& name
-        ) const;
+      ProcessObject::Pointer CreateObject( const std::string& name ) const;
 
-      /// Interface to PLUMA
+      // Interface to PLUMA
       bool Load( const std::string& path );
       bool Load( const std::string& folder, const std::string& name );
-      int LoadFromFolder( const std::string& folder, bool r = false );
+      std::list< std::string > LoadFromFolder(
+        const std::string& folder, bool r = false
+        );
       bool Unload( const std::string& name );
       void UnloadAll( );
       void GetLoadedPlugins( std::vector< const std::string* >& names ) const;