From 61352f4baaeca7c15a3f77edfeff344cc6dc4e99 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Fri, 21 Mar 2008 11:44:37 +0000 Subject: [PATCH] *** empty log message *** --- kernel/src/bbtkInterpreter.cxx | 40 ++++++++++++++++----------------- kernel/src/bbtkInterpreter.h | 14 ++++++------ kernel/src/bbtkWxGUIConsole.cxx | 8 +++---- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/kernel/src/bbtkInterpreter.cxx b/kernel/src/bbtkInterpreter.cxx index 7b5fa77..82edfcd 100644 --- a/kernel/src/bbtkInterpreter.cxx +++ b/kernel/src/bbtkInterpreter.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkInterpreter.cxx,v $ $ Language: C++ - Date: $Date: 2008/03/20 15:27:56 $ - Version: $Revision: 1.50 $ + Date: $Date: 2008/03/21 11:44:37 $ + Version: $Revision: 1.51 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -307,7 +307,7 @@ bufferNb =0; bool exm = mCommandLine; mCommandLine = false; - ExitStatus status = OK; + ExitStatus status = Interpreter_OK; try @@ -336,7 +336,7 @@ bufferNb =0; } catch (QuitException e) { - status = QUIT; + status = Interpreter_QUIT; if (mThrow) throw QuitException(); } catch (bbtk::Exception e) @@ -347,11 +347,11 @@ bufferNb =0; mess << "* FILE : \""<Print(s,wxRED); if ( mInterpreter->InterpretLine( command ) == - Interpreter::QUIT ) + Interpreter::Interpreter_QUIT ) { Close(true); } @@ -199,7 +199,7 @@ namespace bbtk bool WxGUIConsole::InterpretFile( const std::string& filename) { if ( mInterpreter->InterpretFile(filename) == - Interpreter::ERROR ) + Interpreter::Interpreter_ERROR ) { return false; } -- 2.46.1