summaryrefslogtreecommitdiffstats
path: root/Plugins/BuiltInFunctions/InspectorViewController.h
blob: bba68ef8b59ab4f663e308def0fee8e7842cc037 (plain)
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
//
//  InspectorViewController.h
//  Liaison
//
//  Created by Brian Cully on Wed May 21 2003.
//  Copyright (c) 2003 Brian Cully. All rights reserved.
//

@interface LiFileHandle (LiLocationStuff)
- (NSString *)location;
@end

@interface InspectorViewController : NSObject
{
    IBOutlet NSView *theFileTabView;
    IBOutlet NSView *theHFSTabView;
    
    IBOutlet NSTextField *theFilenameField;
    IBOutlet NSTextField *theTypeField;
    IBOutlet NSPopUpButton *theApplicationButton;
    
    IBOutlet NSImageView *iconView;
    IBOutlet NSTextField *pathField;
    IBOutlet NSTextField *hfsTypeField;
    IBOutlet NSTextField *hfsCreatorField;

    LiFileHandle *theFile;
}
- (IBAction)setIcon:(id)sender;
- (IBAction)setFilename:(id)sender;
- (IBAction)setType:(id)sender;
- (IBAction)setApplication:(id)sender;
- (IBAction)setHFSTypeField:(id)sender;
- (IBAction)setHFSCreatorField:(id)sender;
@property (retain) NSPopUpButton *theApplicationButton;
@property (retain) NSImageView *iconView;
@property (retain) NSTextField *hfsCreatorField;
@property (retain,getter=hfsView) NSView *theHFSTabView;
@property (retain) NSTextField *theTypeField;
@property (retain,getter=fileView) NSView *theFileTabView;
@property (retain,getter=file) LiFileHandle *theFile;
@property (retain) NSTextField *pathField;
@property (retain) NSTextField *theFilenameField;
@property (retain) NSTextField *hfsTypeField;
@end

@interface InspectorViewController (Accessors)
- (NSView *)fileView;
- (NSView *)hfsView;
- (LiFileHandle *)file;
- (void)setFile: (LiFileHandle *)aFile;
@end