-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMainController.h
More file actions
43 lines (38 loc) · 1.15 KB
/
MainController.h
File metadata and controls
43 lines (38 loc) · 1.15 KB
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
//
// MainController.h
// test
//
// Created by Scott Jann on 4/30/09.
// Copyright (c) 2009 Scott Jann
//
#import <Cocoa/Cocoa.h>
#import <PreferencePanes/PreferencePanes.h>
#import "VolumeList.h"
@interface MainController : NSObject {
IBOutlet NSTableView * myTable;
IBOutlet NSPanel *myPanel;
IBOutlet NSPanel *myAbout;
IBOutlet NSTextField *serverText;
IBOutlet NSTextField *volumeText;
IBOutlet NSButton *uxDeleteButton;
IBOutlet NSTextField *aboutText;
IBOutlet NSPreferencePane *prefPane;
@private
VolumeList *volumes;
NSTimer *timer;
AuthorizationRef authorizationRef;
}
-(id) init;
-(IBAction) addButton: (id) sender;
-(IBAction) deleteButton: (id) sender;
-(IBAction) refreshButton: (id) sender;
-(IBAction) aboutButton: (id) sender;
-(IBAction) clickTable: (id) sender;
-(IBAction) mySheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode
contextInfo:(void *)contextInfo;
-(void) refresh;
-(void) updateForm;
-(void) handleTimer: (NSTimer *)timer;
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification;
- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)rowIndex;
@end