]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreter.h
Autodestruction of packages on automatic dlclose after main (if a package was not...
[bbtk.git] / kernel / src / bbtkInterpreter.h
index 2e7ba4df6f2c0462179108c1bcf6e910f3e2d277..29708546c557602ff859f96c18050af0c6121a6f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkInterpreter.h,v $ $
   Language:  C++
-  Date:      $Date: 2008/05/06 13:45:12 $
-  Version:   $Revision: 1.30 $
+  Date:      $Date: 2008/05/15 08:02:36 $
+  Version:   $Revision: 1.31 $
 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -90,6 +90,7 @@ namespace bbtk
     typedef Object Superclass;
   public:
     static Pointer New(const std::string& cpp_file = "");
+    static Pointer New(VirtualExec::Pointer);
 
     typedef enum 
       {
@@ -267,6 +268,10 @@ namespace bbtk
     /// Constructor
     Interpreter(const std::string& cpp_file = "");
 
+    Interpreter(VirtualExec::Pointer);
+
+    void Init(VirtualExec::Pointer, const std::string& cpp_file);
+
     /// Opens the file fullPathScriptName 
     /// includeScriptName is the name as given to the include command 
     void LoadScript( std::string fullPathScriptName,