]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h
Bug #1365,
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.h
index 7a6b39fe21b2a34866a3bd97714bf3908fd5e68b..db615aa629274b7263137abc85020f446f7f6469 100644 (file)
@@ -57,7 +57,7 @@ Version:   $Revision$
 #include <wxVtk3DBaseView.h>
 
 //Includes std
-#include <iostream>
+#include <fstream>
 
 namespace bbtk
 {
@@ -107,7 +107,13 @@ namespace bbtk
                void loadDiagram(ifstream &inputStream, const std::string &path); //DFCH
 
                // Load temporary diagram as BBG
-               unsigned short  loadTempDiagram(unsigned short un);
+               void  loadTempDiagram(unsigned short un);
+
+               // evaluate the position in the undo actions list
+               unsigned short getUndoState();
+
+               // evaluate the position in the redo actions list
+               unsigned short getRedoState();
 
                // Add a new complex input object to the scene
                void addComplexInputPort(std::string portName);