diff options
Diffstat (limited to 'SwifTools/Notifier/Notifier.cpp')
-rw-r--r-- | SwifTools/Notifier/Notifier.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/SwifTools/Notifier/Notifier.cpp b/SwifTools/Notifier/Notifier.cpp index c03970b..2c2660e 100644 --- a/SwifTools/Notifier/Notifier.cpp +++ b/SwifTools/Notifier/Notifier.cpp @@ -11,18 +11,9 @@ namespace Swift { const int Notifier::DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS = 3; const int Notifier::DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS = 5; -Notifier::Notifier() : enabled(true) { -} - Notifier::~Notifier() { } -void Notifier::showMessage(Type type, const String& subject, const String& description, const boost::filesystem::path& picture, boost::function<void()> callback) { - if (enabled) { - doShowMessage(type, subject, description, picture, callback); - } -} - String Notifier::typeToString(Type type) { switch (type) { case ContactAvailable: return "Contact Becomes Available"; |