From: David ‘Bombe’ Roden Date: Sat, 5 Jul 2008 13:29:11 +0000 (+0200) Subject: add isVerbose method X-Git-Tag: 0.1~49 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2da1f876f694ea83fc3bb296eba1212d239dead0;p=ecparse.git add isVerbose method --- diff --git a/GlobalSettings.cpp b/GlobalSettings.cpp index bbfc11c..ba44fbc 100644 --- a/GlobalSettings.cpp +++ b/GlobalSettings.cpp @@ -21,6 +21,10 @@ GlobalSettings* GlobalSettings::getInstance() { return instance; } +bool GlobalSettings::isVerbose() { + return verbose; +} + void GlobalSettings::setVerbose(bool verbose) { this->verbose = verbose; } diff --git a/GlobalSettings.h b/GlobalSettings.h index cc9df32..8eaa1cd 100644 --- a/GlobalSettings.h +++ b/GlobalSettings.h @@ -13,6 +13,7 @@ private: public: static GlobalSettings* getInstance(); + bool isVerbose(); void setVerbose(bool verbose); private: