mirror of
https://github.com/objective-see/KnockKnock.git
synced 2026-03-22 06:52:25 +00:00
01c29e7c00
-check for 'Program' key first -start/calendar interval added macho parser to classify files as encrypted/packed fixed bug in signing check (just for ad-hoc, should've bailed if file not signed) suppress stderr in execTask() improved sanity checks in various spots
39 lines
819 B
Objective-C
Executable File
39 lines
819 B
Objective-C
Executable File
//
|
|
// CategoryTableController.h
|
|
// KnockKnock
|
|
//
|
|
// Created by Patrick Wardle on 2/18/15.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface CategoryTableController : NSObject <NSTableViewDataSource, NSTableViewDelegate>
|
|
{
|
|
|
|
}
|
|
|
|
//array to hold categories
|
|
@property (nonatomic, retain)NSMutableArray *tableContents;
|
|
|
|
//category table view
|
|
@property (weak) IBOutlet NSTableView *categoryTableView;
|
|
|
|
//previously selected row
|
|
// ->needed since on 'reloadData' events, .selectedRow is -1 ...
|
|
@property NSUInteger selectedRow;
|
|
|
|
/* METHODS */
|
|
|
|
|
|
//initialize table
|
|
// ->set header text, etc
|
|
-(void)initTable:(NSMutableArray*)plugins;
|
|
|
|
//reload due to toggle of filter options
|
|
-(void)customReload;
|
|
|
|
//set the color of all labels in a specified row
|
|
-(void)setRowColor:(NSTableCellView*)row color:(NSColor*)textColor;
|
|
|
|
@end
|