]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkFactory.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkFactory.h
index a4f84e73f6f7d0c015484d8e1f05f0c28e7cdc44..8cf02be971c5e34d4c4c631440b0bcf5c5388d17 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkFactory.h,v $
   Language:  C++
-  Date:      $Date: 2008/02/14 11:38:58 $
-  Version:   $Revision: 1.6 $
+  Date:      $Date: 2008/03/03 08:06:36 $
+  Version:   $Revision: 1.8 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -43,9 +43,7 @@ namespace bbtk
     Factory();
     ~Factory();
 
-    void LoadPackage( const std::string& name, 
-                      bool use_configuration_file = true, 
-                     bool verbose = false );
+    void LoadPackage( const std::string& name );
     void UnLoadPackage( const std::string& name );
     void PrintPackages(bool details = true, bool adaptors = false) const;
     void HelpPackage(const std::string& name, bool adaptors = false) const;
@@ -87,8 +85,7 @@ namespace bbtk
 
     bool DoLoadPackage(std::string libname,
                       std::string pkgname,
-                      std::string path,
-                      bool v);
+                      std::string path);
 
     /// The structure storing info on a package
     class PackageInfoType
@@ -141,10 +138,9 @@ namespace bbtk
     }
   }
 
-  inline void LoadPackage( const std::string& name, 
-                           bool use_configuration_file = true, bool verbose = false )
+  inline void LoadPackage( const std::string& name )
   {
-    GetGlobalFactory()->LoadPackage(name,use_configuration_file, verbose);
+    GetGlobalFactory()->LoadPackage(name);
   }
 
   inline void UnLoadPackage( const std::string& name )