]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkPackage.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkPackage.h
index 6abb711f63100b31bc7e7ca99d61b977c8de19c0..9a1c46a9e43b0fa42b8f99246598077d3d1e9c01 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkPackage.h,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:14 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2009/01/13 08:45:27 $
+  Version:   $Revision: 1.12 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -58,8 +58,7 @@ namespace bbtk
     static Pointer New(const std::string& name,
                       const std::string& author,
                       const std::string& description,
-                      const std::string& version,
-                      const std::string& BBTKVersion);
+                      const std::string& version);
     /// Creates a package from a dynamic library
     static Pointer CreateFromDynamicLibrary(const std::string& libname,
                                            const std::string& pkgname,
@@ -128,7 +127,7 @@ namespace bbtk
     /// Returns the version of the package
     const std::string& GetVersion() const { return mVersion; }
 
-    bool ContainsBlackBox(const std::string& boxname) const;
+       bool ContainsBlackBox(const std::string& boxname) const;
 
  
     BlackBox::Pointer NewBlackBox(const std::string& type,
@@ -241,8 +240,7 @@ namespace bbtk
     Package(const std::string& name,
            const std::string& author,
            const std::string& description,
-           const std::string& version,
-           const std::string& BBTKVersion);
+           const std::string& version);
     /// Does unload a package (no test)
     static void UnLoad(Package::WeakPointer p);
 
@@ -340,8 +338,7 @@ namespace bbtk
          bbtk::Package::New(#NAME,                                     \
                             AUTHOR,                                    \
                             DESCRIPTION,                               \
-                            VERSION,                                   \
-                            BBTK_STRINGIFY_SYMBOL(BBTK_VERSION)        \
+                            VERSION    \
                             );                                         \
       bbtk::Object::InsertInPackageList( NAME ## GetPackagePointer() ); \
       return NAME ## GetPackagePointer();                              \