1 /*
2    Project: RemoteDesk
3 
4    Copyright (C) 2006 Free Software Foundation
5 
6    Author: Riccardo Mottola
7 
8    Created: 2006-09-11
9 
10    Application Controller
11 
12    This application is free software; you can redistribute it and/or
13    modify it under the terms of the GNU General Public
14    License as published by the Free Software Foundation; either
15    version 2 of the License, or (at your option) any later version.
16 
17    This application is distributed in the hope that it will be useful,
18    but WITHOUT ANY WARRANTY; without even the implied warranty of
19    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20    Library General Public License for more details.
21 
22    You should have received a copy of the GNU General Public
23    License along with this library; if not, write to the Free
24    Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
25 */
26 
27 #include <AppKit/AppKit.h>
28 
29 @interface AppController : NSObject
30 {
31     IBOutlet NSTextField   *remoteHost;
32     IBOutlet NSTextField   *userName;
33     IBOutlet NSTextField   *password;
34     IBOutlet NSTextField   *dispW;
35     IBOutlet NSTextField   *dispH;
36     IBOutlet NSPopUpButton *dispPresets;
37     IBOutlet NSPopUpButton *dispBitDepth;
38     IBOutlet NSPopUpButton *keybLayout;
39 }
40 
41 + (void)initialize;
42 
43 - (id)init;
44 - (void)dealloc;
45 
46 - (void)awakeFromNib;
47 
48 - (void)applicationDidFinishLaunching:(NSNotification *)aNotif;
49 - (BOOL)applicationShouldTerminate:(id)sender;
50 - (void)applicationWillTerminate:(NSNotification *)aNotif;
51 - (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName;
52 
53 - (void)showPrefPanel:(id)sender;
54 
55 - (IBAction)setDisplaySize:(id)sender;
56 - (IBAction)connect:(id)sender;
57 
58 @end
59