]> ruin.nu Git - eonsl.git/blobdiff - eonsl/eonsldoc.h
These files is for making the project
[eonsl.git] / eonsl / eonsldoc.h
diff --git a/eonsl/eonsldoc.h b/eonsl/eonsldoc.h
new file mode 100644 (file)
index 0000000..4df8bc9
--- /dev/null
@@ -0,0 +1,50 @@
+/***************************************************************************
+                          eonsldoc.h  -  description
+                             -------------------
+    begin     : mån okt 23 17:11:28 CEST 2000
+    copyright : (C) 2000 by Michael Andreen
+    email     : whale@linux.nu
+    changes   :
+ ***************************************************************************/
+
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ ***************************************************************************/
+#ifndef EONSLDOC_H
+#define EONSLDOC_H
+
+// include files for QT
+#include <qobject.h>
+
+// application specific includes
+
+/**
+  * the Document Class
+  */
+
+class EonSLDoc : public QObject
+{
+  Q_OBJECT
+
+  public:
+    EonSLDoc();
+    ~EonSLDoc();
+    void newDoc();
+    bool save();
+    bool saveAs(const QString &filename);
+    bool load(const QString &filename);
+    bool isModified() const;
+
+  signals:
+    void documentChanged();
+
+  protected:
+    bool modified;
+};
+
+#endif