]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkPackage.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkPackage.cxx
index 94286b37811f8f99a3cc8b17a8b1ddbd51c0636f..29bd891d79008fd75b062b1c9800d51f3f03d622 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkPackage.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/04/18 12:59:15 $
-  Version:   $Revision: 1.13 $
+  Date:      $Date: 2008/04/22 06:59:31 $
+  Version:   $Revision: 1.14 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -696,7 +696,7 @@ namespace bbtk
                        <<name<<"\")"<<bbtkendl);
 
     AdaptorKey key(typein,typeout,
-                  BlackBoxDescriptor::DEFAULT_WIDGET_ADAPTOR);
+                  BlackBoxDescriptor::DEFAULT_GUI);
     AdaptorMapType::const_iterator i = mAdaptorMap.find(key);
     if (i == mAdaptorMap.end())  
       {
@@ -729,7 +729,7 @@ namespace bbtk
     AdaptorKey key(/*typein*/
                   DataInfo(typeid(void),""),
                   typeout,
-                  BlackBoxDescriptor::DEFAULT_WIDGET_ADAPTOR);
+                  BlackBoxDescriptor::DEFAULT_GUI);
     // First try to find a single widget adaptor
     AdaptorMapType::const_iterator i = mAdaptorMap.find(key);
     if (i == mAdaptorMap.end())  
@@ -825,7 +825,7 @@ namespace bbtk
          }
       }
     // If it is a default adaptor, also register it in the adaptors map
-    else if ( d->GetKind() == BlackBoxDescriptor::DEFAULT_WIDGET_ADAPTOR)
+    else if ( d->GetKind() == BlackBoxDescriptor::DEFAULT_GUI)
       {
        bbtkDebugMessage("Kernel",8,"Package<"<<GetName()<<">::RegisterBlackBox(\""<<d->GetTypeName()<<"\") : The box is a widget adaptor, inserting it in adaptors map ..."<<std::endl);