-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPreferencesController.h
More file actions
executable file
·62 lines (44 loc) · 1.51 KB
/
PreferencesController.h
File metadata and controls
executable file
·62 lines (44 loc) · 1.51 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//
// PreferencesController.h
// Reverso Context
//
// Created by Francesco Mattiussi on 23/05/21.
// Copyright 2021 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface PreferencesController : NSWindowController {
IBOutlet NSWindow *mainWindow;
IBOutlet NSView *mainView;
IBOutlet NSToolbar *toolbar;
IBOutlet NSView *serverView;
IBOutlet NSView *accountView;
// Server View
IBOutlet NSTextField *addressField;
IBOutlet NSTextField *portField;
IBOutlet NSTextField *serverUsername;
IBOutlet NSTextField *serverPassword;
IBOutlet NSButton *authRadio;
IBOutlet NSTextField *accountUsername;
IBOutlet NSTextField *accountPassword;
}
@property (assign) IBOutlet NSWindow *mainWindow;
@property (assign) IBOutlet NSView *mainView;
@property (assign) IBOutlet NSToolbar *toolbar;
@property (assign) IBOutlet NSView *serverView;
@property (assign) IBOutlet NSView *accountView;
- (IBAction)serverPanel:(id)pId;
- (IBAction)accountPanel:(id)pId;
- (void)saveServerInfo;
- (IBAction)toggleAuth:(id)pId;
// to move
@property (assign) NSTextField *addressField;
@property (assign) NSTextField *portField;
@property (assign) IBOutlet NSTextField *serverUsername;
@property (assign) IBOutlet NSTextField *serverPassword;
@property (assign) IBOutlet NSButton *authRadio;
@property (assign) IBOutlet NSTextField *accountUsername;
@property (assign) IBOutlet NSTextField *accountPassword;
- (IBAction)updateInformations:(id)pId;
- (IBAction)closeDrawer:(id)pId;
- (IBAction)open:(id)sender;
@end