]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreter.h
bbtk now depends on crea !
[bbtk.git] / kernel / src / bbtkInterpreter.h
index 33c82aca87b4e2719e33bbd6d7703cf13f463a93..5325e568013ebbb94485bb6da5251a0f036d96f6 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkInterpreter.h,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:13 $
-  Version:   $Revision: 1.35 $
+  Date:      $Date: 2008/12/11 15:30:04 $
+  Version:   $Revision: 1.37 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -49,7 +49,7 @@
 namespace bbtk
 {
 
-#ifdef _USE_WXWIDGETS_
+#ifdef USE_WXWIDGETS
   class WxConsole;
 #endif
   
@@ -151,7 +151,7 @@ namespace bbtk
 
     void SetThrow(bool b) { mThrow = b; }
 
-#ifdef _USE_WXWIDGETS_
+#ifdef USE_WXWIDGETS
     /// Sets the user of the interpreter (if any)
     void SetUser(InterpreterUser* c) { mUser = c; }
     /// Gets the InterpreterUser of this 
@@ -293,6 +293,7 @@ namespace bbtk
                     std::string includeScriptName);
 
     /// 
+    void CatchInterpreterException( const InterpreterError& e );
     void CatchBbtkException( const bbtk::Exception& e );
     void CatchStdException( const std::exception& e );
     void CatchUnknownException();