mirror of
https://github.com/objective-see/BlockBlock.git
synced 2026-03-22 07:02:39 +00:00
cff555df51
Added heuristics for ClickFix detections Additional Settings: 1. Notarization mode: all (#91) 2. ClickFix heuristics Note Additional Settings are now shown at install time, allowing for initial configuration
96 lines
2.2 KiB
Objective-C
96 lines
2.2 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;
|
|
|
|
/* (additional) PROTECTIONS */
|
|
|
|
//protections view
|
|
@property (strong) IBOutlet NSView *protectionsView;
|
|
|
|
@property (weak) IBOutlet NSButton *notarizationMode;
|
|
@property (weak) IBOutlet NSButton *notarizationAllMode;
|
|
@property (weak) IBOutlet NSButton *clickFixMode;
|
|
@property (weak) IBOutlet NSButton *clickFixHeuristicsMode;
|
|
|
|
|
|
/* 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;
|
|
|
|
//preferences
|
|
@property (nonatomic, retain)NSDictionary* preferences;
|
|
|
|
|
|
/* 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
|