summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-03-09 11:22:00 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-03-09 11:22:00 (GMT)
commitc83da56f6c93db3dc8040be1137fd40a08bf4132 (patch)
treec4141dc2f333a6517a5dbc70c04c013878bee1bf /SwifTools/Notifier/GrowlNotifier.h
parent0833f7da453db9cd0fc3a78c793e7532663ab86b (diff)
downloadswift-contrib-c83da56f6c93db3dc8040be1137fd40a08bf4132.zip
swift-contrib-c83da56f6c93db3dc8040be1137fd40a08bf4132.tar.bz2
Handle double growl callbacks.
Diffstat (limited to 'SwifTools/Notifier/GrowlNotifier.h')
-rw-r--r--SwifTools/Notifier/GrowlNotifier.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/SwifTools/Notifier/GrowlNotifier.h b/SwifTools/Notifier/GrowlNotifier.h
index cb0d089..f4e6803 100644
--- a/SwifTools/Notifier/GrowlNotifier.h
+++ b/SwifTools/Notifier/GrowlNotifier.h
@@ -14,18 +14,19 @@ namespace Swift {
/**
* Preconditions for using growlnotifier:
* - Must be part a bundle.
* - The Carbon/Cocoa application loop must be running (e.g. through QApplication)
* such that notifications are coming through.
*/
class GrowlNotifier : public Notifier {
public:
GrowlNotifier(const std::string& name);
+ ~GrowlNotifier();
virtual void showMessage(Type type, const std::string& subject, const std::string& description, const boost::filesystem::path& picture, boost::function<void()> callback);
virtual bool isExternallyConfigured() const;
// Called by the delegate. Don't call.
void handleNotificationClicked(void* data);
void handleNotificationTimedOut(void* data);
private: