xtestext1.h revision 485f0483
1485f0483Smrg/* $Xorg: xtestext1.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */ 2485f0483Smrg/* 3485f0483Smrg * xtestext1.h 4485f0483Smrg * 5485f0483Smrg * X11 Input Synthesis Extension include file 6485f0483Smrg */ 7485f0483Smrg 8485f0483Smrg/* 9485f0483Smrg 10485f0483Smrg 11485f0483SmrgCopyright 1986, 1987, 1988, 1998 The Open Group 12485f0483Smrg 13485f0483SmrgPermission to use, copy, modify, distribute, and sell this software and its 14485f0483Smrgdocumentation for any purpose is hereby granted without fee, provided that 15485f0483Smrgthe above copyright notice appear in all copies and that both that 16485f0483Smrgcopyright notice and this permission notice appear in supporting 17485f0483Smrgdocumentation. 18485f0483Smrg 19485f0483SmrgThe above copyright notice and this permission notice shall be included in 20485f0483Smrgall copies or substantial portions of the Software. 21485f0483Smrg 22485f0483SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 23485f0483SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 24485f0483SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 25485f0483SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 26485f0483SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 27485f0483SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 28485f0483Smrg 29485f0483SmrgExcept as contained in this notice, the name of The Open Group shall not be 30485f0483Smrgused in advertising or otherwise to promote the sale, use or other dealings 31485f0483Smrgin this Software without prior written authorization from The Open Group. 32485f0483Smrg 33485f0483Smrg 34485f0483SmrgCopyright 1986, 1987, 1988 by Hewlett-Packard Corporation 35485f0483Smrg 36485f0483SmrgPermission to use, copy, modify, and distribute this 37485f0483Smrgsoftware and its documentation for any purpose and without 38485f0483Smrgfee is hereby granted, provided that the above copyright 39485f0483Smrgnotice appear in all copies and that both that copyright 40485f0483Smrgnotice and this permission notice appear in supporting 41485f0483Smrgdocumentation, and that the name of Hewlett-Packard not be used in 42485f0483Smrgadvertising or publicity pertaining to distribution of the 43485f0483Smrgsoftware without specific, written prior permission. 44485f0483Smrg 45485f0483SmrgHewlett-Packard makes no representations about the 46485f0483Smrgsuitability of this software for any purpose. It is provided 47485f0483Smrg"as is" without express or implied warranty. 48485f0483Smrg 49485f0483SmrgThis software is not subject to any license of the American 50485f0483SmrgTelephone and Telegraph Company or of the Regents of the 51485f0483SmrgUniversity of California. 52485f0483Smrg 53485f0483Smrg*/ 54485f0483Smrg 55485f0483Smrg#ifndef _XTESTEXT1_H 56485f0483Smrg#define _XTESTEXT1_H 57485f0483Smrg/* 58485f0483Smrg * the typedefs for CARD8, CARD16, and CARD32 are defined in Xmd.h 59485f0483Smrg */ 60485f0483Smrg 61485f0483Smrg#include <X11/extensions/xtestext1const.h> 62485f0483Smrg/* 63485f0483Smrg * This is the definition for the input action host format event structure. 64485f0483Smrg * This is the form that a client using this extension will see when 65485f0483Smrg * it receives an input action event. 66485f0483Smrg */ 67485f0483Smrgtypedef struct { 68485f0483Smrg int type; /* always XTestInputActionType */ 69485f0483Smrg Display *display; 70485f0483Smrg Window window; 71485f0483Smrg CARD8 actions[XTestACTIONS_SIZE]; 72485f0483Smrg} XTestInputActionEvent; 73485f0483Smrg 74485f0483Smrg/* 75485f0483Smrg * This is the definition for the xTestFakeAck host format event structure. 76485f0483Smrg * This is the form that a client using this extension will see when 77485f0483Smrg * it receives an XTestFakeAck event. 78485f0483Smrg */ 79485f0483Smrgtypedef struct { 80485f0483Smrg int type; /* always XTestFakeAckType */ 81485f0483Smrg Display *display; 82485f0483Smrg Window window; 83485f0483Smrg} XTestFakeAckEvent; 84485f0483Smrg 85485f0483Smrg#endif /* _XTESTEXT1_H */ 86