OverSight/Installer/ErrorWindowController.h

43 lines
830 B
Objective-C

//
// ErrorWindowController.h
// OverSight
//
// Created by Patrick Wardle on 7/15/16.
// Copyright (c) 2016 Objective-See. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface ErrorWindowController : NSWindowController <NSWindowDelegate>
{
}
//main msg in window
@property (weak) IBOutlet NSTextField *errMsg;
//sub msg in window
@property (weak) IBOutlet NSTextField *errSubMsg;
//info/help/fix button
@property (weak) IBOutlet NSButton *infoButton;
//close button
@property (weak) IBOutlet NSButton *closeButton;
//(optional) url for 'Info' button
@property(nonatomic, retain) NSURL* errorURL;
//flag indicating close button should exit app
@property BOOL shouldExit;
/* METHODS */
//configure the object/window
-(void)configure:(NSDictionary*)errorInfo;
//display (show) window
-(void)display;
@end