xtestext1.h revision 485f0483
1/* $Xorg: xtestext1.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */ 2/* 3 * xtestext1.h 4 * 5 * X11 Input Synthesis Extension include file 6 */ 7 8/* 9 10 11Copyright 1986, 1987, 1988, 1998 The Open Group 12 13Permission to use, copy, modify, distribute, and sell this software and its 14documentation for any purpose is hereby granted without fee, provided that 15the above copyright notice appear in all copies and that both that 16copyright notice and this permission notice appear in supporting 17documentation. 18 19The above copyright notice and this permission notice shall be included in 20all copies or substantial portions of the Software. 21 22THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 23IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 24FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 25OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 26AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 27CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 28 29Except as contained in this notice, the name of The Open Group shall not be 30used in advertising or otherwise to promote the sale, use or other dealings 31in this Software without prior written authorization from The Open Group. 32 33 34Copyright 1986, 1987, 1988 by Hewlett-Packard Corporation 35 36Permission to use, copy, modify, and distribute this 37software and its documentation for any purpose and without 38fee is hereby granted, provided that the above copyright 39notice appear in all copies and that both that copyright 40notice and this permission notice appear in supporting 41documentation, and that the name of Hewlett-Packard not be used in 42advertising or publicity pertaining to distribution of the 43software without specific, written prior permission. 44 45Hewlett-Packard makes no representations about the 46suitability of this software for any purpose. It is provided 47"as is" without express or implied warranty. 48 49This software is not subject to any license of the American 50Telephone and Telegraph Company or of the Regents of the 51University of California. 52 53*/ 54 55#ifndef _XTESTEXT1_H 56#define _XTESTEXT1_H 57/* 58 * the typedefs for CARD8, CARD16, and CARD32 are defined in Xmd.h 59 */ 60 61#include <X11/extensions/xtestext1const.h> 62/* 63 * This is the definition for the input action host format event structure. 64 * This is the form that a client using this extension will see when 65 * it receives an input action event. 66 */ 67typedef struct { 68 int type; /* always XTestInputActionType */ 69 Display *display; 70 Window window; 71 CARD8 actions[XTestACTIONS_SIZE]; 72} XTestInputActionEvent; 73 74/* 75 * This is the definition for the xTestFakeAck host format event structure. 76 * This is the form that a client using this extension will see when 77 * it receives an XTestFakeAck event. 78 */ 79typedef struct { 80 int type; /* always XTestFakeAckType */ 81 Display *display; 82 Window window; 83} XTestFakeAckEvent; 84 85#endif /* _XTESTEXT1_H */ 86