summaryrefslogtreecommitdiff
path: root/ext/installfiles/mac/mac-ui-macgap1-wrapper/src/MacGap/Classes/Commands/Notice.h
blob: 51077a434c8285cfc30680b4a1e05ff5d65dd5c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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