Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-02-21 20:06:17 +0000
committerStijn Buys <ingar@osirion.org>2012-02-21 20:06:17 +0000
commit4460f43972bd52c498161c64d4ddcc4da4c45d20 (patch)
treebf9f56c6d0e04bc249986e4bfc2fd1fa30e1c60f /src/zoneproperties.h
parent43c292e1dda7c789a31cdb679065c75d8f8cebba (diff)
Add support for zone properties, added framework to save files.
Diffstat (limited to 'src/zoneproperties.h')
-rw-r--r--src/zoneproperties.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/zoneproperties.h b/src/zoneproperties.h
index e69de29..9b79569 100644
--- a/src/zoneproperties.h
+++ b/src/zoneproperties.h
@@ -0,0 +1,35 @@
+/*
+ zoneproperties.h
+ This file is part of the Project::OSiRiON world editor
+ and is distributed under the terms and conditions of
+ the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_EDITOR_ZONEPROPERTIES__
+#define __INCLUDED_EDITOR_ZONEPROPERTIES__
+
+#include "properties.h"
+
+#include <QTextStream>
+
+namespace editor
+{
+
+/**
+ * @brief contains the game properties for a zone
+ * */
+class ZoneProperties : public Properties
+{
+public:
+ ZoneProperties();
+ virtual ~ZoneProperties();
+
+ /**
+ * @brief save ini formatted zone properties to a textstream
+ * */
+ virtual void save(QTextStream &textstream);
+};
+
+} // namespace editor
+
+#endif // __INCLUDED_EDITOR_ZONEPROPERTIES__