#import <AAGrowlPlugin.h>
Public Member Functions | |
(void) | - startGrowling |
(NSDictionary *) | - registrationDictionaryForGrowl [implementation] |
Give Growl a list of all notifications we plan on sending. | |
(NSString *) | - applicationNameForGrowl [implementation] |
Static Public Member Functions | |
(void) | + growl:message: |
Definition at line 35 of file AAGrowlPlugin.h.
- (void) startGrowling |
Definition at line 48 of file AAGrowlPlugin.mm.
Referenced by main().
Definition at line 88 of file AAGrowlPlugin.mm.
Referenced by Growl().
00088 :(NSString *)aTitle message:(NSString *)aMessage 00089 { 00090 [GrowlApplicationBridge notifyWithTitle:aTitle 00091 description:aMessage 00092 notificationName:aTitle 00093 iconData:nil 00094 priority:0 00095 isSticky:NO 00096 clickContext:nil]; 00097 }
- (NSDictionary *) registrationDictionaryForGrowl | [implementation] |
Give Growl a list of all notifications we plan on sending.
Definition at line 54 of file AAGrowlPlugin.mm.
00055 { 00056 NSArray *all_notes = [NSArray arrayWithObjects:PLAYER_LEFT, 00057 PLAYER_ENTERED, 00058 PLAYER_RENAMED, 00059 DEATH_SUICIDE, 00060 DEATH_FRAG, 00061 DEATH_TEAMKILL, 00062 GAME_END, 00063 NEW_ROUND, 00064 ROUND_WINNER, 00065 MATCH_WINNER, 00066 NEW_MATCH, 00067 nil]; 00068 NSArray *def_notes = [NSArray arrayWithObjects:GAME_END, 00069 NEW_ROUND, 00070 ROUND_WINNER, 00071 MATCH_WINNER, 00072 NEW_MATCH, 00073 nil]; 00074 00075 00076 NSDictionary *growlNotes = [NSDictionary dictionaryWithObjectsAndKeys: 00077 all_notes, GROWL_NOTIFICATIONS_ALL, 00078 def_notes, GROWL_NOTIFICATIONS_DEFAULT, 00079 nil]; 00080 return growlNotes; 00081 }
- (NSString *) applicationNameForGrowl | [implementation] |