-
Notifications
You must be signed in to change notification settings - Fork 35
/
ItemTableController.h
executable file
·52 lines (37 loc) · 1.09 KB
/
ItemTableController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// ItemTableController.h
// KnockKnock
//
// Created by Patrick Wardle on 2/18/15.
// Copyright (c) 2015 Objective-See. All rights reserved.
//
#import "InfoWindowController.h"
#import "VTInfoWindowController.h"
#import <Foundation/Foundation.h>
@interface ItemTableController : NSObject <NSTableViewDataSource, NSTableViewDelegate>
{
}
//category table view
@property(weak) IBOutlet NSTableView *itemTableView;
//info window
@property(retain, nonatomic)InfoWindowController* infoWindowController;
//preferences window controller
@property (nonatomic, retain)VTInfoWindowController* vtWindowController;
//no items label
@property (nonatomic, retain) IBOutlet NSTextField *noItemsLabel;
/* METHODS */
//button handler
// ->show item in finder
- (IBAction)showInFinder:(id)sender;
//button handler
// ->show info window
- (IBAction)showInfo:(id)sender;
//button handler
// ->show virus total info window
-(void)showVTInfo:(NSView*)button;
//scroll back up to top of table
-(void)scrollToTop;
//helper function
// ->get items array (either all or just unknown)
-(NSArray*)getTableItems;
@end