diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-08-22 23:34:11 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-08-22 23:34:11 -0400 |
commit | 11b85e55db3f6ed29a040b53041a4aa9cf1a10df (patch) | |
tree | 6702e426d6e97ff997a3f24b7b31e71da80ca1f7 /notify.h | |
parent | ab16b8a89c399c513a7fba8e0bc68f0e700cfd2c (diff) | |
download | mirror-ponymix-11b85e55db3f6ed29a040b53041a4aa9cf1a10df.tar.gz mirror-ponymix-11b85e55db3f6ed29a040b53041a4aa9cf1a10df.tar.bz2 mirror-ponymix-11b85e55db3f6ed29a040b53041a4aa9cf1a10df.zip |
notify: Create a NullNotifier as the default notifier
This notifier is boring. It does nothing.
Diffstat (limited to 'notify.h')
-rw-r--r-- | notify.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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() {} |