Permalink
Browse files

Update Growl framework

  • Loading branch information...
1 parent 5a56955 commit 09c54a4181693e121b51f8849ea0301ceaf8aa98 @psychs committed Jul 28, 2012
@@ -0,0 +1,18 @@
+// LimeChat is copyrighted free software by Satoshi Nakagawa <psychs AT limechat DOT net>.
+// You can redistribute it and/or modify it under the terms of the GPL version 2 (see the file GPL.txt).
+
+#import <Foundation/Foundation.h>
+#import "Growl/Growl.h"
+#import "NotificationController.h"
+
+
+@class IRCWorld;
+
+
+@interface GrowlController : NSObject <GrowlApplicationBridgeDelegate>
+
+@property (nonatomic, weak) IRCWorld* owner;
+
+- (void)notify:(GrowlNotificationType)type title:(NSString*)title desc:(NSString*)desc context:(id)context;
+
+@end
@@ -26,6 +26,11 @@
@implementation GrowlController
+{
+ __weak IRCWorld* owner;
+ id lastClickedContext;
+ CFAbsoluteTime lastClickedTime;
+}
@synthesize owner;
@@ -2,10 +2,6 @@
// You can redistribute it and/or modify it under the terms of the GPL version 2 (see the file GPL.txt).
#import <Foundation/Foundation.h>
-#import "Growl/Growl.h"
-
-
-@class IRCWorld;
typedef enum {
@@ -28,14 +24,9 @@ typedef enum {
} GrowlNotificationType;
-@interface GrowlController : NSObject <GrowlApplicationBridgeDelegate>
-{
- __weak IRCWorld* owner;
- id lastClickedContext;
- CFAbsoluteTime lastClickedTime;
-}
+@protocol NotificationController <NSObject>
-@property (nonatomic, weak) IRCWorld* owner;
+@property (nonatomic, weak) id delegate;
- (void)notify:(GrowlNotificationType)type title:(NSString*)title desc:(NSString*)desc context:(id)context;
Binary file not shown.
@@ -1,6 +1,5 @@
-#include "GrowlDefines.h"
+#include <Growl/GrowlDefines.h>
#ifdef __OBJC__
-# include "GrowlApplicationBridge.h"
+# include <Growl/GrowlApplicationBridge.h>
#endif
-#include "GrowlApplicationBridge-Carbon.h"
Oops, something went wrong.

0 comments on commit 09c54a4

Please sign in to comment.