forked from wgm/portsensor-osx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
FeedController.h
38 lines (30 loc) · 992 Bytes
/
FeedController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#import <Cocoa/Cocoa.h>
#import <Growl/GrowlApplicationBridge.h>
#import "Header.h"
@interface FeedController : NSObject <GrowlApplicationBridgeDelegate> {
IBOutlet NSOutlineView *treeView;
IBOutlet NSTextField *statusOkLabel;
IBOutlet NSTextField *statusWarnLabel;
IBOutlet NSTextField *statusCriticalLabel;
IBOutlet NSMenu *statusMenu;
IBOutlet NSToolbarItem *timerToolbarItem;
IBOutlet NSImageView *headerImageView;
NSTimer *feedTimer;
NSMutableDictionary *serverMap;
NSImage *ledGreenIcon;
NSImage *ledYellowIcon;
NSImage *ledRedIcon;
NSImage *feedIcon;
NSImage *serverIcon;
NSDictionary *attrGreen;
NSDictionary *attrYell;
NSDictionary *attrRed;
NSDictionary *attrBlack;
NSDictionary *attrWhite;
}
- (IBAction)checkFeed:(id)sender;
- (IBAction)toggleTimer:(id)sender;
-(void) growlString:(NSString*)title description:(NSString*)description;
-(NSDictionary *) registrationDictionaryForGrowl;
@property (nonatomic,retain) NSMutableDictionary *serverMap;
@end