add isVerbose method
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 5 Jul 2008 13:29:11 +0000 (15:29 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 5 Jul 2008 13:29:11 +0000 (15:29 +0200)
GlobalSettings.cpp
GlobalSettings.h

index bbfc11c..ba44fbc 100644 (file)
@@ -21,6 +21,10 @@ GlobalSettings* GlobalSettings::getInstance() {
        return instance;
 }
 
+bool GlobalSettings::isVerbose() {
+       return verbose;
+}
+
 void GlobalSettings::setVerbose(bool verbose) {
        this->verbose = verbose;
 }
index cc9df32..8eaa1cd 100644 (file)
@@ -13,6 +13,7 @@ private:
 public:
        static GlobalSettings* getInstance();
 
+       bool isVerbose();
        void setVerbose(bool verbose);
 
 private: