X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkVirtualExec.h;h=1ba529d9f6262bf13997bc83147be6df491a7676;hb=9d5a41aa77e7749118fc4885f7b26ea25bd90629;hp=52ceb2c1eb324de6f03115aa74a38e9594f18075;hpb=7a26044dd46cb80ab90ee1f63d3b4d8ce52b2d39;p=bbtk.git diff --git a/kernel/src/bbtkVirtualExec.h b/kernel/src/bbtkVirtualExec.h index 52ceb2c..1ba529d 100644 --- a/kernel/src/bbtkVirtualExec.h +++ b/kernel/src/bbtkVirtualExec.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkVirtualExec.h,v $ $ Language: C++ - Date: $Date: 2008/04/24 12:56:39 $ - Version: $Revision: 1.14 $ + Date: $Date: 2008/10/02 07:43:21 $ + Version: $Revision: 1.16 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -37,7 +37,7 @@ namespace bbtk class Interpreter; BBTK_FORWARD_DECLARE_POINTER(Interpreter); - class /*BBTK_EXPORT*/ VirtualExec : public Object + class BBTK_EXPORT VirtualExec : public Object { BBTK_ABSTRACT_OBJECT_INTERFACE(VirtualExec); public: @@ -74,6 +74,10 @@ namespace bbtk /// Sets the mode of dialog of the executer for Root inputs virtual void SetDialogMode(DialogModeType t) = 0; + /// Puts the executer in "no error" mode, + /// Errors do not stop execution (but warnings are produced) + virtual void SetNoErrorMode(bool b) = 0; + virtual bool GetNoErrorMode() const = 0; //================================================================= /// Loads a package virtual void LoadPackage(const std::string &name ) = 0;