Pass authtoken in from user, and add a wrapper for web UI on Mac.
This commit is contained in:
26
ext/mac-ui-macgap1-wrapper/MacGap/Classes/Commands/Notice.h
Normal file
26
ext/mac-ui-macgap1-wrapper/MacGap/Classes/Commands/Notice.h
Normal file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// Notice.h
|
||||
// MacGap
|
||||
//
|
||||
// Created by Christian Sullivan on 7/26/12.
|
||||
// Copyright (c) 2012 Twitter. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "WindowController.h"
|
||||
|
||||
#define APP_NOTICE_NOTIFICATION @"Notice"
|
||||
|
||||
@interface Notice : NSObject <NSUserNotificationCenterDelegate> {
|
||||
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) WebView *webView;
|
||||
|
||||
- (id) initWithWebView:(WebView *)view;
|
||||
- (void) notify:(NSDictionary*)message;
|
||||
- (void) close:(NSString*)notificationId;
|
||||
+ (BOOL) available;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user