merge latest (4.3.99.16) from XFree86 (vendor) branch
This commit is contained in:
@@ -1,4 +1,31 @@
|
||||
/* $XFree86: xc/programs/Xserver/hw/darwin/quartz/Preferences.h,v 1.2 2003/01/15 02:34:05 torrey Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2002-2003 Torrey T. Lyons. All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* Except as contained in this notice, the name(s) of the above copyright
|
||||
* holders shall not be used in advertising or otherwise to promote the
|
||||
* sale, use or other dealings in this Software without prior written
|
||||
* authorization.
|
||||
*/
|
||||
/* $XFree86: xc/programs/Xserver/hw/darwin/quartz/Preferences.h,v 1.3 2003/09/16 00:36:12 torrey Exp $ */
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@@ -35,14 +62,14 @@
|
||||
- (IBAction)saveChanges:(id)sender;
|
||||
- (IBAction)setKey:(id)sender;
|
||||
|
||||
- (BOOL)sendEvent:(NSEvent*)anEvent;
|
||||
- (BOOL)sendEvent:(NSEvent *)anEvent;
|
||||
|
||||
- (void)awakeFromNib;
|
||||
- (void)windowWillClose:(NSNotification *)aNotification;
|
||||
|
||||
+ (void)setUseKeymapFile:(BOOL)newUseKeymapFile;
|
||||
+ (void)setKeymapFile:(NSString*)newFile;
|
||||
+ (void)setSwitchString:(NSString*)newString;
|
||||
+ (void)setKeymapFile:(NSString *)newFile;
|
||||
+ (void)setSwitchString:(NSString *)newString;
|
||||
+ (void)setKeyCode:(int)newKeyCode;
|
||||
+ (void)setModifiers:(int)newModifiers;
|
||||
+ (void)setDisplay:(int)newDisplay;
|
||||
@@ -59,15 +86,16 @@
|
||||
+ (void)setSystemBeep:(BOOL)newSystemBeep;
|
||||
+ (void)setXinerama:(BOOL)newXinerama;
|
||||
+ (void)setAddToPath:(BOOL)newAddToPath;
|
||||
+ (void)setAddToPathString:(NSString*)newAddToPathString;
|
||||
+ (void)setAddToPathString:(NSString *)newAddToPathString;
|
||||
+ (void)setUseDefaultShell:(BOOL)newUseDefaultShell;
|
||||
+ (void)setShellString:(NSString*)newShellString;
|
||||
+ (void)setShellString:(NSString *)newShellString;
|
||||
+ (void)setDepth:(int)newDepth;
|
||||
+ (void)setDisplayModeBundles:(NSArray *)newBundles;
|
||||
+ (void)saveToDisk;
|
||||
|
||||
+ (BOOL)useKeymapFile;
|
||||
+ (NSString*)keymapFile;
|
||||
+ (NSString*)switchString;
|
||||
+ (NSString *)keymapFile;
|
||||
+ (NSString *)switchString;
|
||||
+ (unsigned int)keyCode;
|
||||
+ (unsigned int)modifiers;
|
||||
+ (int)display;
|
||||
@@ -84,10 +112,11 @@
|
||||
+ (BOOL)systemBeep;
|
||||
+ (BOOL)xinerama;
|
||||
+ (BOOL)addToPath;
|
||||
+ (NSString*)addToPathString;
|
||||
+ (NSString *)addToPathString;
|
||||
+ (BOOL)useDefaultShell;
|
||||
+ (NSString*)shellString;
|
||||
+ (NSString *)shellString;
|
||||
+ (int)depth;
|
||||
+ (NSArray *)displayModeBundles;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user