mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-10 15:23:06 -07:00
26 lines
512 B
Objective-C
26 lines
512 B
Objective-C
//
|
|
// 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
|
|
|