mirror of
https://github.com/objective-see/BlockBlock.git
synced 2026-03-22 07:02:39 +00:00
bde2c52dd6
converted XPC calls to synchronous (where response data is requested) reworked installer to address Full Disk Access issues
81 lines
1.8 KiB
Objective-C
81 lines
1.8 KiB
Objective-C
//
|
|
// file: ConfigureWindowController.h
|
|
// project: BlockBlock (config)
|
|
// description: install/uninstall window logic (header)
|
|
//
|
|
// created by Patrick Wardle
|
|
// copyright (c) 2018 Objective-See. All rights reserved.
|
|
//
|
|
|
|
|
|
@import Cocoa;
|
|
|
|
@interface ConfigureWindowController : NSWindowController <NSWindowDelegate>
|
|
{
|
|
|
|
}
|
|
|
|
/* PROPERTIES */
|
|
|
|
//config object
|
|
@property(nonatomic, retain) Configure* configureObj;
|
|
|
|
//uninstall button
|
|
@property (weak, nonatomic) IBOutlet NSButton *uninstallButton;
|
|
|
|
//install button
|
|
@property (weak, nonatomic) IBOutlet NSButton *installButton;
|
|
|
|
//status msg
|
|
@property (weak, nonatomic) IBOutlet NSTextField *statusMsg;
|
|
|
|
//more info button
|
|
@property (weak, nonatomic) IBOutlet NSButton *moreInfoButton;
|
|
|
|
//spinner
|
|
@property (weak, nonatomic) IBOutlet NSProgressIndicator *activityIndicator;
|
|
|
|
/* FULL DISK ACCESS */
|
|
|
|
//full disk access view
|
|
@property (strong, nonatomic) IBOutlet NSView *diskAccessView;
|
|
|
|
//disk access view's button
|
|
@property (weak, nonatomic) IBOutlet NSButton *diskAccessButton;
|
|
|
|
//spinner for 'waiting for FDA' message
|
|
@property (weak, nonatomic) IBOutlet NSProgressIndicator *fdaActivityIndicator;
|
|
|
|
//'waiting for FDA' message
|
|
@property (weak, nonatomic) IBOutlet NSTextField *fdaMessage;
|
|
|
|
//issues button
|
|
@property (weak, nonatomic) IBOutlet NSButton *issuesButton;
|
|
|
|
/* SUPPORT US */
|
|
|
|
//support us view
|
|
@property (strong, nonatomic) IBOutlet NSView *supportView;
|
|
|
|
//support us
|
|
@property (weak, nonatomic) IBOutlet NSButton *supportButton;
|
|
|
|
//observer for app activation
|
|
@property(nonatomic, retain)id appActivationObserver;
|
|
|
|
/* METHODS */
|
|
|
|
//install/uninstall button handler
|
|
-(IBAction)configureButtonHandler:(id)sender;
|
|
|
|
//(more) info button handler
|
|
-(IBAction)info:(id)sender;
|
|
|
|
//configure window/buttons
|
|
-(void)configure;
|
|
|
|
//display (show) window
|
|
-(void)display;
|
|
|
|
@end
|