add global settings container
[ecparse.git] / GlobalSettings.h
diff --git a/GlobalSettings.h b/GlobalSettings.h
new file mode 100644 (file)
index 0000000..cc9df32
--- /dev/null
@@ -0,0 +1,23 @@
+/**
+ * © 2008 by David ‘Bombe’ Roden <bombe@pterodactylus.net>
+ */
+
+#pragma once
+
+class GlobalSettings {
+
+private:
+       GlobalSettings();
+       ~GlobalSettings();
+
+public:
+       static GlobalSettings* getInstance();
+
+       void setVerbose(bool verbose);
+
+private:
+       static GlobalSettings* instance;
+       bool verbose;
+
+};
+