AAGrowlPlugin Class Reference

#import <AAGrowlPlugin.h>

List of all members.

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:


Detailed Description

Definition at line 35 of file AAGrowlPlugin.h.


Member Function Documentation

- (void) startGrowling  

Definition at line 48 of file AAGrowlPlugin.mm.

Referenced by main().

00049 {    
00050     [GrowlApplicationBridge setGrowlDelegate:self];
00051 }

Here is the caller graph for this function:

+ (void) growl: (NSString *)  aTitle
message: (NSString *)  aMessage 

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 }

Here is the caller graph for this function:

- (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]

Definition at line 83 of file AAGrowlPlugin.mm.

00084 {
00085     return @"Armagetron Advanced";
00086 }


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:20:27 2008 for Armagetron Advanced by  doxygen 1.5.4