code refactoring
This commit is contained in:
parent
1bea90c9c3
commit
ec576223be
8 changed files with 350 additions and 185 deletions
|
|
@ -19,6 +19,8 @@
|
|||
IBOutlet NSWindow *timelineViewWindow;
|
||||
IBOutlet WebView *mentionsView;
|
||||
IBOutlet NSWindow *mentionsViewWindow;
|
||||
NSWindow *loginViewWindow;
|
||||
NSProgressIndicator *loginActivityIndicator;
|
||||
IBOutlet NSMenuItem *globalHotkeyMenuItem;
|
||||
IBOutlet NSImageView *logoLayer;
|
||||
ViewDelegate *viewDelegate;
|
||||
|
|
@ -30,6 +32,8 @@
|
|||
@property (retain, nonatomic) IBOutlet NSWindow *timelineViewWindow;
|
||||
@property (retain, nonatomic) IBOutlet WebView *mentionsView;
|
||||
@property (retain, nonatomic) IBOutlet NSWindow *mentionsViewWindow;
|
||||
@property (assign) IBOutlet NSWindow *loginViewWindow;
|
||||
@property (assign) IBOutlet NSProgressIndicator *loginActivityIndicator;
|
||||
@property (retain, nonatomic) IBOutlet NSMenuItem *globalHotkeyMenuItem;
|
||||
@property (retain, nonatomic) IBOutlet NSImageView *logoLayer;
|
||||
@property (retain, nonatomic) IBOutlet ViewDelegate *viewDelegate;
|
||||
|
|
@ -51,6 +55,10 @@
|
|||
- (void)storeAccessToken:(NSString *)accessToken secret:(NSString *)secret userId:(NSString *)userId andScreenName:(NSString *)screenName;
|
||||
- (void)loggedIn;
|
||||
|
||||
- (IBAction)login:(id)sender;
|
||||
- (IBAction)logout:(id)sender;
|
||||
|
||||
|
||||
OSStatus handler(EventHandlerCallRef nextHandler, EventRef theEvent, void* userData);
|
||||
|
||||
@end
|
||||
|
|
|
|||
Reference in a new issue