diff options
Diffstat (limited to 'SwifTools/Notifier/GrowlNotifierDelegate.h')
-rw-r--r-- | SwifTools/Notifier/GrowlNotifierDelegate.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/SwifTools/Notifier/GrowlNotifierDelegate.h b/SwifTools/Notifier/GrowlNotifierDelegate.h new file mode 100644 index 0000000..7a556cc --- /dev/null +++ b/SwifTools/Notifier/GrowlNotifierDelegate.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2011 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#import <Growl/Growl.h> + +namespace Swift { + class GrowlNotifier; +} + +@interface GrowlNotifierDelegate : NSObject<GrowlApplicationBridgeDelegate> { + Swift::GrowlNotifier* notifier; + NSString* name; + NSDictionary* registrationDictionary; +} + +@property (nonatomic, retain) NSDictionary* registrationDictionary; +@property (nonatomic, copy) NSString* name; + +- (NSDictionary*) registrationDictionaryForGrowl; +- (NSString *) applicationNameForGrowl; +- (void) growlNotificationWasClicked: (id) clickContext; +- (void) growlNotificationTimedOut: (id) clickContext; + + +@end |