]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Interface.h
Widget integration (step 5/6): Just one step leftgit shortlog !
[cpPlugins.git] / lib / cpPlugins / Interface / Interface.h
index 1bade44fa75acfabc223413089b195f0bdd5e297..a51f8be231409e38857b9b3a761b2c9dcebd818c 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
 #include <cpPlugins/Interface/Object.h>
+#include <cpPlugins/Interface/ProcessObject.h>
 
 namespace cpPlugins
 {
@@ -28,12 +29,15 @@ namespace cpPlugins
       Interface( );
       virtual ~Interface( );
 
-      /// Plugin access
+      // Plugin access
       TClasses& GetClasses( );
       const TClasses& GetClasses( ) const;
-      Object* CreateObject( const std::string& name ) const;
+      Object::Pointer CreateObject( const std::string& name ) const;
+      ProcessObject::Pointer CreateProcessObject(
+        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 );