implemented Notification Center

This commit is contained in:
Jeena Paradies 2012-11-10 01:17:52 +01:00
parent d8683ed9d5
commit 9bcba0beae
4 changed files with 48 additions and 4 deletions

View file

@ -14,7 +14,7 @@
#import "AccessToken.h"
@interface Controller : NSObject {
@interface Controller : NSObject <NSUserNotificationCenterDelegate> {
IBOutlet WebView *timelineView;
IBOutlet NSWindow *timelineViewWindow;
IBOutlet WebView *mentionsView;
@ -52,6 +52,8 @@
- (NSString *)pluginURL;
- (void)handleGetURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent;
- (void)unreadMentions:(NSInteger)count;
- (void)notificateUserAboutMention:(NSString *)text fromName:(NSString *)name withPostId:(NSString *)postId andEntity:(NSString *)entity;
- (void)openURL:(NSString *)url;
- (void)setString:(NSString *)string forKey:(NSString *)aKey;