Blame synfig-osx/launcher/quartz.h

Carlos Lopez a09598
/*
Carlos Lopez a09598
 * quartz.h
Carlos Lopez a09598
 *
Carlos Lopez a09598
 * External interface of the Quartz modes seen by the generic, mode
Carlos Lopez a09598
 * independent parts of the Darwin X server.
Carlos Lopez a09598
 */
Carlos Lopez a09598
/*
Carlos Lopez a09598
 * Copyright (c) 2001 Greg Parker and Torrey T. Lyons.
Carlos Lopez a09598
 * Copyright (c) 2002 Apple Computer, Inc.
Carlos Lopez a09598
 *                 All Rights Reserved.
Carlos Lopez a09598
 *
Carlos Lopez a09598
 * Permission is hereby granted, free of charge, to any person obtaining a
Carlos Lopez a09598
 * copy of this software and associated documentation files (the "Software"),
Carlos Lopez a09598
 * to deal in the Software without restriction, including without limitation
Carlos Lopez a09598
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Carlos Lopez a09598
 * and/or sell copies of the Software, and to permit persons to whom the
Carlos Lopez a09598
 * Software is furnished to do so, subject to the following conditions:
Carlos Lopez a09598
 *
Carlos Lopez a09598
 * The above copyright notice and this permission notice shall be included in
Carlos Lopez a09598
 * all copies or substantial portions of the Software.
Carlos Lopez a09598
 *
Carlos Lopez a09598
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Carlos Lopez a09598
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Carlos Lopez a09598
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
Carlos Lopez a09598
 * THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
Carlos Lopez a09598
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
Carlos Lopez a09598
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Carlos Lopez a09598
 * DEALINGS IN THE SOFTWARE.
Carlos Lopez a09598
 *
Carlos Lopez a09598
 * Except as contained in this notice, the name(s) of the above copyright
Carlos Lopez a09598
 * holders shall not be used in advertising or otherwise to promote the sale,
Carlos Lopez a09598
 * use or other dealings in this Software without prior written authorization.
Carlos Lopez a09598
 */
Carlos Lopez a09598
/* $XFree86: xc/programs/Xserver/hw/darwin/quartz/quartz.h,v 1.1 2002/03/28 02:21:18 torrey Exp $ */
Carlos Lopez a09598
Carlos Lopez a09598
#ifndef _QUARTZ_H
Carlos Lopez a09598
#define _QUARTZ_H
Carlos Lopez a09598
Carlos Lopez a09598
#include "darwin.h"
Carlos Lopez a09598
Carlos Lopez a09598
/* Local client message types */
Carlos Lopez a09598
enum {
Carlos Lopez a09598
  kXquartzControllerNotify = kXquartzFirstEvent,
Carlos Lopez a09598
  kXquartzPasteboardNotify,
Carlos Lopez a09598
  kXquartzActivate,
Carlos Lopez a09598
  kXquartzDeactivate,
Carlos Lopez a09598
  kXquartzDisplayChanged,
Carlos Lopez a09598
  kXquartzWindowState,
Carlos Lopez a09598
  kXquartzWindowMoved,
Carlos Lopez a09598
  kXquartzToggleFullscreen,
Carlos Lopez a09598
  kXquartzSetRootless,
Carlos Lopez a09598
};
Carlos Lopez a09598
Carlos Lopez a09598
extern int quartzUseSysBeep;
Carlos Lopez a09598
extern int quartzServerVisible;
Carlos Lopez a09598
extern int quartzDesiredDepth;
Carlos Lopez a09598
extern int quartzHasRoot, quartzEnableRootless;
Carlos Lopez a09598
extern int quartzFullscreenDisableHotkeys;
Carlos Lopez a09598
extern int quartzXpluginOptions;
Carlos Lopez a09598
Carlos Lopez a09598
int QuartzProcessArgument(int argc, char *argv[], int i);
Carlos Lopez a09598
void QuartzInitOutput(int argc, char **argv);
Carlos Lopez a09598
void QuartzGiveUp(void);
Carlos Lopez a09598
Carlos Lopez a09598
void QuartzMessageMainThread (int type, int argc, ...);
Carlos Lopez a09598
void QuartzClientMessage (const struct _xEvent *xe);
Carlos Lopez a09598
Carlos Lopez a09598
void QuartzRunClient (const char *command);
Carlos Lopez a09598
Carlos Lopez a09598
Bool QuartzAddScreen(int index, ScreenPtr pScreen);
Carlos Lopez a09598
Bool QuartzSetupScreen(int index, ScreenPtr pScreen);
Carlos Lopez a09598
Carlos Lopez a09598
#endif