summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/FreeDesktopNotifier.h')
-rw-r--r--Swift/QtUI/FreeDesktopNotifier.h21
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;
+ };
+}