From 758af92799656991c5e5b8d8a72381fb5cd6170f Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Tue, 20 Aug 2019 18:59:56 +0200 Subject: Add embedded examples menu and resources. Signed-off-by: Pavel Pisa --- qtmips_gui/srceditor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qtmips_gui/srceditor.h') diff --git a/qtmips_gui/srceditor.h b/qtmips_gui/srceditor.h index 880520e..328bfb1 100644 --- a/qtmips_gui/srceditor.h +++ b/qtmips_gui/srceditor.h @@ -56,11 +56,14 @@ public: void setCursorToLine(int ln); void setFileName(QString filename); bool isModified() const; + void setSaveAsRequired(bool val); + bool saveAsRequired(); private: QSyntaxHighlighter *highlighter; void setup_common(); QString fname; QString tname; + bool saveAsRequiredFl; }; #endif // SRCEDITOR_H -- cgit v1.2.3