]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreter.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkInterpreter.h
index 33c82aca87b4e2719e33bbd6d7703cf13f463a93..490882733c83f4f9ac3b6ed7ac9f9123d4597ca4 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/12 12:11:21 $
+  Version:   $Revision: 1.38 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -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 
@@ -170,6 +170,7 @@ namespace bbtk
     /// The enumeration of command codes == Command name
     typedef enum
     {
+      cClear,
       cNew,
       cDelete,
       cConnect,
@@ -293,6 +294,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();