#ifndef DEBUGSESSION_H #define DEBUGSESSION_H #include "DebuggerData.h" #include "SymbolTable.h" #include class QXmlStreamReader; class DebugSession : public QObject { Q_OBJECT public: DebugSession(); // session void clear(); void open(const QString& file); bool save(); bool saveAs(const QString& file); bool existsAsFile() const; const QString& filename() const; bool isModified() const; Breakpoints& breakpoints(); SymbolTable& symbolTable(); void sessionModified(); private: void skipUnknownElement(QXmlStreamReader& ses); private: Breakpoints breaks; SymbolTable symTable; QString fileName; bool modified; }; #endif // DEBUGSESSION_H