43 lines
925 B
Objective-C
43 lines
925 B
Objective-C
//
|
|
// AppDelegate.h
|
|
// OverSight
|
|
//
|
|
// Created by Patrick Wardle on 9/01/16.
|
|
// Copyright (c) 2016 Objective-See. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "AboutWindowController.h"
|
|
#import "ErrorWindowController.h"
|
|
#import "ConfigureWindowController.h"
|
|
|
|
@interface AppDelegate : NSObject <NSApplicationDelegate, NSMenuDelegate, NSWindowDelegate>
|
|
{
|
|
|
|
}
|
|
|
|
/* PROPERTIES */
|
|
|
|
//about window controller
|
|
@property(nonatomic, retain)AboutWindowController* aboutWindowController;
|
|
|
|
//configure window controller
|
|
@property(nonatomic, retain)ConfigureWindowController* configureWindowController;
|
|
|
|
//error window controller
|
|
@property(nonatomic, retain)ErrorWindowController* errorWindowController;
|
|
|
|
|
|
/* METHODS */
|
|
|
|
//display configuration window w/ 'install' || 'uninstall' button
|
|
-(void)displayConfigureWindow:(BOOL)isInstalled;
|
|
|
|
//display error window
|
|
-(void)displayErrorWindow:(NSDictionary*)errorInfo;
|
|
|
|
@end
|
|
|
|
|