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
#define __bbtkInterpreter_h__
#include "bbtkVirtualExec.h"
-#include "bbtkExecuter.h"
-#include "bbtkTranscriptor.h"
#include <fstream>
#include <deque>
public:
/// Constructor
- Interpreter();
+ Interpreter(const std::string& cpp_file = "");
/// Destructor
~Interpreter();
//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; }