summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-12-23 22:35:52 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-12-23 22:43:52 (GMT)
commit5862dcdf8dc6e1bb160693ad6a5ca0609ddb990a (patch)
tree0f999c987daef5468eae9e2b8e7cd6ddf3c2c110 /SwifTools/Notifier/GrowlNotifier.h
parent732253a9b3e88b99b36dd3298157cf502f743294 (diff)
downloadswift-5862dcdf8dc6e1bb160693ad6a5ca0609ddb990a.zip
swift-5862dcdf8dc6e1bb160693ad6a5ca0609ddb990a.tar.bz2
Updated Growl notifier to work against Growl 1.3.
Diffstat (limited to 'SwifTools/Notifier/GrowlNotifier.h')
-rw-r--r--SwifTools/Notifier/GrowlNotifier.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/SwifTools/Notifier/GrowlNotifier.h b/SwifTools/Notifier/GrowlNotifier.h
index e2686e8..ffd717a 100644
--- a/SwifTools/Notifier/GrowlNotifier.h
+++ b/SwifTools/Notifier/GrowlNotifier.h
@@ -1,13 +1,11 @@
/*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010-2011 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
#pragma once
-#include <CoreFoundation/CoreFoundation.h>
-#include <Growl/Growl.h>
#include <boost/filesystem/fstream.hpp>
#include <SwifTools/Notifier/Notifier.h>
@@ -24,8 +22,13 @@ namespace Swift {
GrowlNotifier(const std::string& name);
virtual void showMessage(Type type, const std::string& subject, const std::string& description, const boost::filesystem::path& picture, boost::function<void()> callback);
+
+ // Called by the delegate. Don't call.
+ void handleNotificationClicked(void* data);
+ void handleNotificationTimedOut(void* data);
private:
- Growl_Delegate delegate_;
+ class Private;
+ boost::shared_ptr<Private> p;
};
}