30 lines
780 B
Objective-C
30 lines
780 B
Objective-C
//
|
|
// Controller.h
|
|
// Twittia 2
|
|
//
|
|
// Created by Jeena on 15.04.10.
|
|
// Licence: BSD (see attached LICENCE.txt file).
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import <Webkit/Webkit.h>
|
|
#import "ViewDelegate.h"
|
|
#import <Carbon/Carbon.h>
|
|
|
|
@interface Controller : NSObject {
|
|
IBOutlet WebView *timelineView;
|
|
IBOutlet WebView *mentionsView;
|
|
ViewDelegate *viewDelegate;
|
|
}
|
|
|
|
@property (retain, nonatomic) IBOutlet WebView *timelineView;
|
|
@property (retain, nonatomic) IBOutlet WebView *mentionsView;
|
|
@property (retain, nonatomic) IBOutlet ViewDelegate *viewDelegate;
|
|
|
|
- (void)initWebViews;
|
|
- (void)openNewTweetWindowInReplyTo:(NSString *)userName statusId:(NSString *)statusId;
|
|
- (NSString *)pluginURL;
|
|
|
|
OSStatus handler(EventHandlerCallRef nextHandler, EventRef theEvent, void* userData);
|
|
|
|
@end
|