]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUIConsole.h
=== MAJOR RELEASE ====
[bbtk.git] / kernel / src / bbtkWxGUIConsole.h
index a8c328d9ef8c277966699b14f2c53ca385777f6f..6a4b17d007b2a68c649d247267659c7d77408377 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIConsole.h,v $
   Language:  C++
-  Date:      $Date: 2008/03/25 06:22:53 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2008/04/18 12:59:16 $
+  Version:   $Revision: 1.3 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -63,9 +63,9 @@ namespace bbtk
     /// Returns the Interpreter used 
     /// ONLY ONE FOR THE MOMENT BUT IN THE FUTURE CAN BE DIFFERENT 
     /// (DIFFERENT WORKSPACES)
-    Interpreter* GetInterpreter() { return mInterpreter; }
+    //Interpreter::Pointer GetInterpreter() { return mInterpreter; }
     /// Returns the Interpreter used (const)
-    const Interpreter* GetInterpreter() const { return mInterpreter; }
+    Interpreter::Pointer GetInterpreter() const { return mInterpreter; }
 
     /// Sets the inputs of the workspace : 
     /// the map is passed as is to the Executer
@@ -104,7 +104,7 @@ namespace bbtk
 
   private:
     wxAuiManager m_mgr;
-    Interpreter* mInterpreter;
+    Interpreter::Pointer mInterpreter;
 
     
 //EED    wxNotebook* mwxNotebook;