45e9809aff7304721fddb95654901b32195c9c7avboxsync * Copyright (c) 2001 Andreas Monitzer. All Rights Reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Copyright (c) 2002-2003 Torrey T. Lyons. All Rights Reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Permission is hereby granted, free of charge, to any person obtaining a
45e9809aff7304721fddb95654901b32195c9c7avboxsync * copy of this software and associated documentation files (the
45e9809aff7304721fddb95654901b32195c9c7avboxsync * "Software"), to deal in the Software without restriction, including
45e9809aff7304721fddb95654901b32195c9c7avboxsync * without limitation the rights to use, copy, modify, merge, publish,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * distribute, sublicense, and/or sell copies of the Software, and to
45e9809aff7304721fddb95654901b32195c9c7avboxsync * permit persons to whom the Software is furnished to do so, subject to
45e9809aff7304721fddb95654901b32195c9c7avboxsync * the following conditions:
45e9809aff7304721fddb95654901b32195c9c7avboxsync * The above copyright notice and this permission notice shall be included
45e9809aff7304721fddb95654901b32195c9c7avboxsync * in all copies or substantial portions of the Software.
45e9809aff7304721fddb95654901b32195c9c7avboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
45e9809aff7304721fddb95654901b32195c9c7avboxsync * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
45e9809aff7304721fddb95654901b32195c9c7avboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
45e9809aff7304721fddb95654901b32195c9c7avboxsync * IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
45e9809aff7304721fddb95654901b32195c9c7avboxsync * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
45e9809aff7304721fddb95654901b32195c9c7avboxsync * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Except as contained in this notice, the name(s) of the above copyright
45e9809aff7304721fddb95654901b32195c9c7avboxsync * holders shall not be used in advertising or otherwise to promote the
45e9809aff7304721fddb95654901b32195c9c7avboxsync * sale, use or other dealings in this Software without prior written
45e9809aff7304721fddb95654901b32195c9c7avboxsync * authorization.
45e9809aff7304721fddb95654901b32195c9c7avboxsync // Server state
45e9809aff7304721fddb95654901b32195c9c7avboxsync // Aqua interface
45e9809aff7304721fddb95654901b32195c9c7avboxsync // Menu elements setable by Apple-WM extension
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (BOOL)getMousePosition:(xEvent *)xe fromEvent:(NSEvent *)anEvent;
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (void)windowBecameKey:(NSNotification *)notification;
45e9809aff7304721fddb95654901b32195c9c7avboxsync// Aqua interface actions
45e9809aff7304721fddb95654901b32195c9c7avboxsync// NSApplication delegate
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender;
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (void)applicationWillTerminate:(NSNotification *)aNotification;
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (void)applicationDidFinishLaunching:(NSNotification *)aNotification;
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (void)applicationDidHide:(NSNotification *)aNotification;
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (void)applicationDidUnhide:(NSNotification *)aNotification;
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag;
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (void)applicationWillResignActive:(NSNotification *)aNotification;
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (void)applicationWillBecomeActive:(NSNotification *)aNotification;
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename;
45e9809aff7304721fddb95654901b32195c9c7avboxsync// NSPort delegate
45e9809aff7304721fddb95654901b32195c9c7avboxsync- (void)handlePortMessage:(NSPortMessage *)portMessage;
45e9809aff7304721fddb95654901b32195c9c7avboxsync// X server states