]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreter.h
Html doc
[bbtk.git] / kernel / src / bbtkInterpreter.h
index 6c294d9dd42ea6b9063accd4170420037f2a85ca..bdf3da926af354a865cba6be74955ae784853a0d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkInterpreter.h,v $ $
   Language:  C++
-  Date:      $Date: 2008/10/02 07:43:20 $
-  Version:   $Revision: 1.33 $
+  Date:      $Date: 2008/10/08 13:39:33 $
+  Version:   $Revision: 1.34 $
 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -101,7 +101,7 @@ namespace bbtk
       ExitStatus;
 
     /// Runs the interpretation of a file
-    ExitStatus InterpretFile( const std::string& filename);
+    ExitStatus InterpretFile( const std::string& filename, bool source = false);
 
     /// Runs the interpretation of a buffer and deletes it !
     ExitStatus InterpretBuffer( std::stringstream* buffer );
@@ -217,7 +217,7 @@ namespace bbtk
                            CommandInfoType& info );
 
     /// Switch to the interpretation of a file
-    void SwitchToFile( const std::string& filename );
+    void SwitchToFile( const std::string& filename, bool source = false );
 
    /// Switch to the interpretation of a stringstream
     void SwitchToStream( std::stringstream* stream );