David 'Digit' Turner | 1b0544d | 2014-03-27 13:51:24 +0100 | [diff] [blame] | 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 | |
| 11 | Copyright 1986, 1987, 1988, 1998 The Open Group |
| 12 | |
| 13 | Permission to use, copy, modify, distribute, and sell this software and its |
| 14 | documentation for any purpose is hereby granted without fee, provided that |
| 15 | the above copyright notice appear in all copies and that both that |
| 16 | copyright notice and this permission notice appear in supporting |
| 17 | documentation. |
| 18 | |
| 19 | The above copyright notice and this permission notice shall be included in |
| 20 | all copies or substantial portions of the Software. |
| 21 | |
| 22 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 23 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 24 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 25 | OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
| 26 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 27 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 28 | |
| 29 | Except as contained in this notice, the name of The Open Group shall not be |
| 30 | used in advertising or otherwise to promote the sale, use or other dealings |
| 31 | in this Software without prior written authorization from The Open Group. |
| 32 | |
| 33 | |
| 34 | Copyright 1986, 1987, 1988 by Hewlett-Packard Corporation |
| 35 | |
| 36 | Permission to use, copy, modify, and distribute this |
| 37 | software and its documentation for any purpose and without |
| 38 | fee is hereby granted, provided that the above copyright |
| 39 | notice appear in all copies and that both that copyright |
| 40 | notice and this permission notice appear in supporting |
| 41 | documentation, and that the name of Hewlett-Packard not be used in |
| 42 | advertising or publicity pertaining to distribution of the |
| 43 | software without specific, written prior permission. |
| 44 | |
| 45 | Hewlett-Packard makes no representations about the |
| 46 | suitability of this software for any purpose. It is provided |
| 47 | "as is" without express or implied warranty. |
| 48 | |
| 49 | This software is not subject to any license of the American |
| 50 | Telephone and Telegraph Company or of the Regents of the |
| 51 | University 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 | */ |
| 67 | typedef 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 | */ |
| 79 | typedef struct { |
| 80 | int type; /* always XTestFakeAckType */ |
| 81 | Display *display; |
| 82 | Window window; |
| 83 | } XTestFakeAckEvent; |
| 84 | |
| 85 | #endif /* _XTESTEXT1_H */ |