]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h
Bug #1375
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.h
index 7a6b39fe21b2a34866a3bd97714bf3908fd5e68b..dddf555ea03f43aa9c7c5cfbf7dedd9de3f0cb6d 100644 (file)
@@ -57,7 +57,7 @@ Version:   $Revision$
 #include <wxVtk3DBaseView.h>
 
 //Includes std
-#include <iostream>
+#include <fstream>
 
 namespace bbtk
 {
@@ -103,11 +103,20 @@ namespace bbtk
                // Save temporary diagram as BBG
                void saveTempDiagram();
 
+               // Save temporary diagram as BBG and update buttons
+               void saveTempandUpdate();
+
                // Load BBG diagram
                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);