1 /* 2 Keyboard.m 3 4 Controller class for this bundle 5 6 Copyright (C) 2001 Dusk to Dawn Computing, Inc. 7 Additional copyrights here 8 9 Author: Jeff Teunissen <deek@d2dc.net> 10 Date: 24 Nov 2001 11 12 This program is free software; you can redistribute it and/or 13 modify it under the terms of the GNU General Public License as 14 published by the Free Software Foundation; either version 2 of 15 the License, or (at your option) any later version. 16 17 This program 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. 20 21 See the GNU General Public License for more details. 22 23 You should have received a copy of the GNU General Public 24 License along with this program; if not, write to: 25 26 Free Software Foundation, Inc. 27 59 Temple Place - Suite 330 28 Boston, MA 02111-1307, USA 29 */ 30 31 #ifdef HAVE_CONFIG_H 32 # include "Config.h" 33 #endif 34 35 #import <AppKit/NSNibDeclarations.h> 36 #import <AppKit/NSPopUpButton.h> 37 38 #import <PrefsModule/PrefsModule.h> 39 40 @interface Keyboard: NSObject <PrefsModule> 41 { 42 IBOutlet NSPopUpButton *firstAlternatePopUp; 43 IBOutlet NSPopUpButton *firstCommandPopUp; 44 IBOutlet NSPopUpButton *firstControlPopUp; 45 IBOutlet NSPopUpButton *secondAlternatePopUp; 46 IBOutlet NSPopUpButton *secondCommandPopUp; 47 IBOutlet NSPopUpButton *secondControlPopUp; 48 49 IBOutlet NSWindow *window; 50 IBOutlet id view; 51 } 52 53 - (IBAction) firstAlternateChanged: (id) sender; 54 - (IBAction) secondAlternateChanged: (id) sender; 55 - (IBAction) firstCommandChanged: (id) sender; 56 - (IBAction) secondCommandChanged: (id) sender; 57 - (IBAction) firstControlChanged: (id) sender; 58 - (IBAction) secondControlChanged: (id) sender; 59 60 @end 61