From 11b85e55db3f6ed29a040b53041a4aa9cf1a10df Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 22 Aug 2013 23:34:11 -0400 Subject: notify: Create a NullNotifier as the default notifier This notifier is boring. It does nothing. --- notify.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'notify.h') diff --git a/notify.h b/notify.h index 10423ee..69e8730 100644 --- a/notify.h +++ b/notify.h @@ -23,6 +23,12 @@ class Notifier { bool initialized_; }; +class NullNotifier : public Notifier { + public: + virtual ~NullNotifier() {} + virtual void Notify(enum NotificationType, long, bool) {} +}; + class CommandLineNotifier : public Notifier { public: virtual ~CommandLineNotifier() {} -- cgit v1.2.3