]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBox.cxx
bbAlways vs Always (to avoid troubles with X11 at compile time)
[bbtk.git] / kernel / src / bbtkBlackBox.cxx
index 5e12c265b120b89a7d918e9d81d17d8d0f4e7568..35bda120cdf1aebc80a2d43cdc83e8dcecc1e9cf 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBox.cxx,v $
   Language:  C++
-  Date:      $Date: 2011/03/01 14:50:28 $
-  Version:   $Revision: 1.50 $
+  Date:      $Date: 2011/03/03 14:33:13 $
+  Version:   $Revision: 1.51 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -365,14 +365,14 @@ namespace bbtk
     const std::string& p = bbmBoxProcessMode;
     if ( (p == "0") ||
         (p == "P") || (p == "p") ||
-        (p == "Pipeline") || (p == "pipeline") ) return BlackBox::Pipeline;
+        (p == "Pipeline") || (p == "pipeline") ) return bbPipeline;
     if ( (p == "1") ||
         (p == "A") || (p == "a") ||
-        (p == "Always") || (p == "always") ) return BlackBox::Always;
+        (p == "Always") || (p == "always") ) return bbAlways;
     if ( (p == "2") ||
         (p == "R") || (p == "r") ||
         (p == "Reactive") || (p == "reactive") ) 
-               return BlackBox::Reactive;
+               return bbReactive;
     /*
     if ( (p == "3") ||
         (p == "F") || (p == "f") ||