1. Perry Metzger
  2. growl

Commits

duesex  committed 4ddfb33

added plugin protocols.

  • Participants
  • Parent commits 799a0a9
  • Branches default

Comments (0)

Files changed (1)

File GrowlDefines.h

View file
 
 // Notifications
 #define GROWL_APP_REGISTRATION			@"GrowlApplicationRegistrationNotification"
+
+@protocol GrowlPlugin
+- (id) loadPlugin;
+- (NSString *) author;
+- (NSString *) name;
+- (NSString *) userDescription;
+- (NSString *) version;
+- (void) unloadPlugin;
+@end
+
+@protocol GrowlDisplayPlugin <GrowlPlugin> 
+- (void)  displayNotificationWithInfo:(NSDictionary *) noteDict;
+@end
+
+@protocol GrowlFunctionalPlugin <GrowlPlugin>
+//empty for now
+@end