implement set window state
[mussa.git] / alg / mussa.hpp
index 27cd239f41c78091abda71fb58f1b95190307da7..e85055d3bf6acb32338341909d422ec3e912e7a3 100644 (file)
@@ -38,6 +38,8 @@ class Mussa : public QObject
 signals:
     //! call whatever signaling system we want
     void progress(const std::string& description, int cur, int max);
+    //! triggered when our state changes between unsaved(true) and saved(false)
+    void isModified(bool);
 
 public:
     typedef std::set<Sequence> motif_set;
@@ -100,6 +102,8 @@ public:
     enum analysis_modes get_analysis_mode() const;
     //! return a string name for an analysis mode
     std::string get_analysis_mode_name() const;
+    //! set our current dirty state
+    void set_dirty(bool);
     //! return if we have unsaved changes
     bool is_dirty() const;
     //! is there anything loaded into this analysis?