]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkFactory.h
Started the devel of a wx package browser
[bbtk.git] / kernel / src / bbtkFactory.h
index 75acb76c5908c1f144237f86431375c9e81429f6..3150e6ea3fbdcb0d86376372cb6376ead1e78235 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkFactory.h,v $
   Language:  C++
-  Date:      $Date: 2008/03/07 08:40:14 $
-  Version:   $Revision: 1.10 $
+  Date:      $Date: 2008/03/28 13:42:17 $
+  Version:   $Revision: 1.11 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -99,6 +99,7 @@ namespace bbtk
                       std::string pkgname,
                       std::string path);
 
+  public:
     /// The structure storing info on a package
     class PackageInfoType
     {
@@ -114,6 +115,10 @@ namespace bbtk
     };
     /// The type of map of packages
     typedef std::map< std::string, PackageInfoType > PackageMapType;
+
+    const PackageMapType& GetPackageMap() const { return mPackageMap; }
+
+  private:
     /// The map of packages
     PackageMapType mPackageMap;