-
Notifications
You must be signed in to change notification settings - Fork 14
/
VTInfoWindowController.h
62 lines (42 loc) · 1.37 KB
/
VTInfoWindowController.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
53
54
55
56
57
58
59
60
61
62
//
// VTInfoWindow.h
// TaskExplorer
//
// Created by Patrick Wardle on 3/29/15.
// Copyright (c) 2015 Objective-See. All rights reserved.
//
@class File;
@class HyperlinkTextField;
#import <Cocoa/Cocoa.h>
@interface VTInfoWindowController : NSWindowController
{
}
/* PROPERTIES */
//window controller
@property(nonatomic, strong)VTInfoWindowController *windowController;
//file object
@property(nonatomic, retain)Binary* item;
//row index
//@property NSUInteger rowIndex;
//properties in window
@property (weak) IBOutlet NSTextField *unknownFile;
@property (weak) IBOutlet NSTextField *fileNameLabel;
@property (weak) IBOutlet HyperlinkTextField *fileName;
@property (weak) IBOutlet NSTextField *detectionRatioLabel;
@property (weak) IBOutlet NSTextField *detectionRatio;
@property (weak) IBOutlet NSTextField *analysisURLLabel;
@property (weak) IBOutlet NSTextField *analysisURL;
@property (weak) IBOutlet NSButton *closeButton;
@property (weak) IBOutlet NSButton *submitButton;
@property (weak) IBOutlet NSProgressIndicator *progressIndicator;
@property (strong) IBOutlet NSView *overlayView;
@property (weak) IBOutlet NSTextField *statusMsg;
/* METHODS */
//init method
// ->save item and load nib
-(id)initWithItem:(Binary*)binary;
//'submit' button handler
-(IBAction)vtButtonHandler:(id)sender;
//'close' button handler
-(IBAction)closeButtonHandler:(id)sender;
@end