mirror of
https://github.com/objective-see/TaskExplorer.git
synced 2026-03-22 07:02:39 +00:00
56 lines
1021 B
Objective-C
56 lines
1021 B
Objective-C
//
|
|
// PrefsWindowController.h
|
|
// DHS
|
|
//
|
|
// Created by Patrick Wardle on 2/6/15.
|
|
// Copyright (c) 2015 Objective-See, LLC. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@interface PrefsWindowController : NSWindowController <NSWindowDelegate>
|
|
{
|
|
|
|
}
|
|
|
|
//buttons
|
|
|
|
//button for filtering out OS componets
|
|
@property (weak) IBOutlet NSButton* showTrustedItemsBtn;
|
|
|
|
//button for disabling talking to VT
|
|
@property (weak) IBOutlet NSButton* disableVTQueriesBtn;
|
|
|
|
//button for saving output
|
|
@property (weak) IBOutlet NSButton* saveOutputBtn;
|
|
|
|
//button for ok/close
|
|
@property (weak) IBOutlet NSButton *okButton;
|
|
|
|
//filter out OS/known items
|
|
@property BOOL showTrustedItems;
|
|
|
|
//disable talking to VT
|
|
@property BOOL disableVTQueries;
|
|
|
|
//save results (at end of scan)
|
|
@property BOOL saveOutput;
|
|
|
|
//save results now
|
|
@property BOOL shouldSaveNow;
|
|
|
|
/* METHODS */
|
|
|
|
//save existing prefs
|
|
-(void)captureExistingPrefs;
|
|
|
|
//'OK' button handler
|
|
// ->save prefs and close window
|
|
-(IBAction)closeWindow:(id)sender;
|
|
|
|
|
|
/* METHODS */
|
|
|
|
|
|
@end
|