]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreter.h
- Finished the Transcriptor
[bbtk.git] / kernel / src / bbtkInterpreter.h
index 02985af8c9253b519377785aad224fbf04fc5ef4..d7f8731cf169069164889ecf5ced8b9893dc86c2 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkInterpreter.h,v $ $
   Language:  C++
-  Date:      $Date: 2008/03/26 08:27:19 $
-  Version:   $Revision: 1.22 $
+  Date:      $Date: 2008/03/26 14:47:36 $
+  Version:   $Revision: 1.23 $
 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -28,8 +28,6 @@
 #define __bbtkInterpreter_h__
 
 #include "bbtkVirtualExec.h"
-#include "bbtkExecuter.h"
-#include "bbtkTranscriptor.h"
 
 #include <fstream>
 #include <deque>
@@ -131,7 +129,7 @@ namespace bbtk
 
   public:
     /// Constructor
-    Interpreter();
+    Interpreter(const std::string& cpp_file = "");
 
     /// Destructor
     ~Interpreter();
@@ -173,15 +171,13 @@ namespace bbtk
     //typedef Executer::DialogModeType DialogModeType;
     typedef VirtualExec::DialogModeType DialogModeType;
 
-       void SetDialogMode(DialogModeType t) { mExecuter->SetDialogMode(t); }
+    void SetDialogMode(DialogModeType t) { mExecuter->SetDialogMode(t); }
 
     /// Sets the bool that indicates wether we are in command line context
     void SetCommandLine(bool v = true) { mCommandLine = v; }
 
     void SetThrow(bool b) { mThrow = b; }
 
-    
 #ifdef _USE_WXWIDGETS_
     /// Sets the user of the interpreter (if any)
     void SetUser(InterpreterUser* c) { mUser = c; }