]> Creatis software - bbtk.git/commitdiff
bbAlways vs Always (to avoid troubles with X11 at compile time)
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 3 Mar 2011 14:33:13 +0000 (14:33 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 3 Mar 2011 14:33:13 +0000 (14:33 +0000)
kernel/src/bbtkBlackBox.cxx
kernel/src/bbtkBlackBox.h

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") ||
index 9b1775e84522344d1b239d77bbc0fa6e11c4a4ca..939b5f8d56d9e3138327ae2ba25a40a2005a48bf 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBox.h,v $
   Language:  C++
-  Date:      $Date: 2011/03/01 14:50:28 $
-  Version:   $Revision: 1.31 $
+  Date:      $Date: 2011/03/03 14:33:13 $
+  Version:   $Revision: 1.32 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -296,9 +296,9 @@ namespace bbtk
  
     typedef enum 
      {
-      Pipeline,
-      Always,
-      Reactive
+      bbPipeline,
+      bbAlways,
+      bbReactive
      }
     BoxProcessModeValue;