16747b715Smrg/*
26747b715Smrg * Copyright © 2009 Red Hat, Inc.
36747b715Smrg *
46747b715Smrg * Permission is hereby granted, free of charge, to any person obtaining a
56747b715Smrg * copy of this software and associated documentation files (the "Software"),
66747b715Smrg * to deal in the Software without restriction, including without limitation
76747b715Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
86747b715Smrg * and/or sell copies of the Software, and to permit persons to whom the
96747b715Smrg * Software is furnished to do so, subject to the following conditions:
106747b715Smrg *
116747b715Smrg * The above copyright notice and this permission notice (including the next
126747b715Smrg * paragraph) shall be included in all copies or substantial portions of the
136747b715Smrg * Software.
146747b715Smrg *
156747b715Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
166747b715Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
176747b715Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
186747b715Smrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
196747b715Smrg * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
206747b715Smrg * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
216747b715Smrg * DEALINGS IN THE SOFTWARE.
226747b715Smrg *
236747b715Smrg */
246747b715Smrg
256747b715Smrg#ifndef EVENTS_H
266747b715Smrg#define EVENTS_H
276747b715Smrgtypedef struct _DeviceEvent DeviceEvent;
286747b715Smrgtypedef struct _DeviceChangedEvent DeviceChangedEvent;
2935c4bbdfSmrgtypedef struct _TouchOwnershipEvent TouchOwnershipEvent;
3035c4bbdfSmrgtypedef struct _BarrierEvent BarrierEvent;
31ed6184dfSmrgtypedef struct _GestureEvent GestureEvent;
3235c4bbdfSmrg
331b5d61b8Smrg#ifdef XFreeXDGA
346747b715Smrgtypedef struct _DGAEvent DGAEvent;
356747b715Smrg#endif
366747b715Smrgtypedef struct _RawDeviceEvent RawDeviceEvent;
3735c4bbdfSmrg
386747b715Smrg#ifdef XQUARTZ
396747b715Smrgtypedef struct _XQuartzEvent XQuartzEvent;
406747b715Smrg#endif
416747b715Smrgtypedef union _InternalEvent InternalEvent;
426747b715Smrg
436747b715Smrg#endif
44