added how many unread mentions there are to the timeline window title

This commit is contained in:
Jeena Paradies 2010-04-27 23:30:09 +02:00
parent ce5ee9f2ee
commit 9ba76d7bc7
6 changed files with 75 additions and 13 deletions

View file

@ -12,20 +12,27 @@
#import <Carbon/Carbon.h>
@interface Controller : NSObject {
@interface Controller : NSObject <NSWindowDelegate> {
IBOutlet WebView *timelineView;
IBOutlet NSWindow *timelineViewWindow;
IBOutlet WebView *mentionsView;
IBOutlet NSWindow *mentionsViewWindow;
ViewDelegate *viewDelegate;
}
@property (retain, nonatomic) IBOutlet WebView *timelineView;
@property (retain, nonatomic) IBOutlet NSWindow *timelineViewWindow;
@property (retain, nonatomic) IBOutlet WebView *mentionsView;
@property (retain, nonatomic) IBOutlet NSWindow *mentionsViewWindow;
@property (retain, nonatomic) IBOutlet ViewDelegate *viewDelegate;
- (void)initWebViews;
- (void)openNewTweetWindowInReplyTo:(NSString *)userName statusId:(NSString *)statusId;
- (NSString *)pluginURL;
- (void)handleGetURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent;
- (void)unreadMentions:(NSInteger)count;
- (void)mentionsWindowDidExpose:(id)sender;
OSStatus handler(EventHandlerCallRef nextHandler, EventRef theEvent, void* userData);