version 2.0 (beta?)

cli interface
This commit is contained in:
Patrick Wardle
2018-12-18 21:13:23 -10:00
parent 35baa20f7c
commit 56fd7b0a07
35 changed files with 1082 additions and 510 deletions
-38
View File
@@ -82,44 +82,6 @@
return;
}
/*
//save prefs
-(void)savePrefs
{
//first, any prefs changed, a 'save' set
// ->set 'save now' flag
if( ((self.showTrustedItems != self.showTrustedItemsBtn.state) ||
(self.disableVTQueries != self.disableVTQueriesBtn.state) ||
(self.saveOutput != self.saveOutputBtn.state) ) &&
(YES == self.saveOutputBtn.state) )
{
//set
self.shouldSaveNow = YES;
}
//don't save
else
{
//unset
self.shouldSaveNow = NO;
}
//save hiding OS components flag
self.showTrustedItems = self.showTrustedItemsBtn.state;
//save disabling VT flag
self.disableVTQueries = self.disableVTQueriesBtn.state;
//save save output flag
self.saveOutput = self.saveOutputBtn.state;
//call back up into app delegate for filtering/hiding OS components
[((AppDelegate*)[[NSApplication sharedApplication] delegate]) applyPreferences];
return;
}
*/
//'OK' button handler
// ->save prefs and close window
-(IBAction)closeWindow:(id)sender