6 #include "vvSlicerManager.h"
9 class QXmlStreamWriter;
11 class QTreeWidgetItem;
17 virtual ~vvSaveState();
19 virtual void Run(vvMainWindow* vvWindow, const std::string& file);
27 void SaveImage(const QTreeWidgetItem* item, int index);
28 void SaveFusion(const QTreeWidgetItem* item, const vvSlicerManager* slicerManager);
29 void SaveOverlay(const QTreeWidgetItem* item, const vvSlicerManager* slicerManager);
30 void SaveVector(const QTreeWidgetItem* item);
31 void SaveLink(const vvSlicerManager* slicerManager);
33 std::auto_ptr<QXmlStreamWriter> m_XmlWriter;
34 std::auto_ptr<QFile> m_File;
35 vvMainWindow* m_Window;
38 #endif // VVSAVESTATE_H