added possibility to change hotkey

This commit is contained in:
Jeena Paradies 2010-05-01 15:12:18 +02:00
parent c94e5af643
commit 543e4e99eb
3 changed files with 285 additions and 24 deletions

View file

@ -17,6 +17,7 @@
IBOutlet NSWindow *timelineViewWindow;
IBOutlet WebView *mentionsView;
IBOutlet NSWindow *mentionsViewWindow;
IBOutlet NSMenuItem *globalHotkeyMenuItem;
ViewDelegate *viewDelegate;
}
@ -24,14 +25,17 @@
@property (retain, nonatomic) IBOutlet NSWindow *timelineViewWindow;
@property (retain, nonatomic) IBOutlet WebView *mentionsView;
@property (retain, nonatomic) IBOutlet NSWindow *mentionsViewWindow;
@property (retain, nonatomic) IBOutlet NSMenuItem *globalHotkeyMenuItem;
@property (retain, nonatomic) IBOutlet ViewDelegate *viewDelegate;
- (void)initWebViews;
- (void)initHotKeys;
- (void)openNewTweetWindowInReplyTo:(NSString *)userName statusId:(NSString *)statusId;
- (NSString *)pluginURL;
- (void)handleGetURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent;
- (void)unreadMentions:(NSInteger)count;
OSStatus handler(EventHandlerCallRef nextHandler, EventRef theEvent, void* userData);
+ (NSString *)stringFromVirtualKeyCode:(NSInteger)code;
@end