diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-05 15:14:08 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-05 15:24:54 (GMT) |
commit | 6cdd48b30526761f5c6365496e30580ed3bd8a82 (patch) | |
tree | 790a96ee6a70054165264171a31ead5e8e598baf /Swift/QtUI/FreeDesktopNotifier.h | |
parent | cd3017c8730ce66539d539890d72434cf644ab80 (diff) | |
download | swift-contrib-6cdd48b30526761f5c6365496e30580ed3bd8a82.zip swift-contrib-6cdd48b30526761f5c6365496e30580ed3bd8a82.tar.bz2 |
Added FreeDesktopNotifier.
Diffstat (limited to 'Swift/QtUI/FreeDesktopNotifier.h')
-rw-r--r-- | Swift/QtUI/FreeDesktopNotifier.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Swift/QtUI/FreeDesktopNotifier.h b/Swift/QtUI/FreeDesktopNotifier.h new file mode 100644 index 0000000..087e9e3 --- /dev/null +++ b/Swift/QtUI/FreeDesktopNotifier.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include "SwifTools/Notifier/Notifier.h" + +namespace Swift { + class FreeDesktopNotifier : public Notifier { + public: + FreeDesktopNotifier(const String& name); + + virtual void doShowMessage(Type type, const String& subject, const String& description, const boost::filesystem::path& picture, boost::function<void()> callback); + + private: + String applicationName; + }; +} |