Xevie.h revision 05a1a286
1/************************************************************
2
3Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
4
5Permission is hereby granted, free of charge, to any person obtaining a
6copy of this software and associated documentation files (the "Software"),
7to deal in the Software without restriction, including without limitation
8the rights to use, copy, modify, merge, publish, distribute, sublicense,
9and/or sell copies of the Software, and to permit persons to whom the
10Software is furnished to do so, subject to the following conditions:
11
12The above copyright notice and this permission notice (including the next
13paragraph) shall be included in all copies or substantial portions of the
14Software.
15
16THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22DEALINGS IN THE SOFTWARE.
23
24************************************************************/
25
26#ifndef _XEVIE_H_
27#define _XEVIE_H_
28
29#include <X11/Xfuncproto.h>
30
31#define XEVIE_UNMODIFIED    0
32#define XEVIE_MODIFIED   1
33
34#ifndef _XEVIE_SERVER_
35
36_XFUNCPROTOBEGIN
37
38Bool XevieQueryVersion(
39    Display*			/* dpy */,
40    int*			/* major_version */,
41    int*			/* minor_version */
42);
43
44extern Status XevieStart(
45    Display*			/* dpy */
46);
47
48Status XevieEnd(
49    Display*			/* dpy */
50);
51
52Status XevieSendEvent(
53    Display*                    /* dpy */,
54    XEvent*			/* event */,
55    int				/* data type */
56);
57
58Status XevieSelectInput(
59    Display*                    /* dpy */,
60    long
61);
62
63
64_XFUNCPROTOEND
65
66#endif /* _XEVIE_SERVER_ */
67
68#endif /* _XEVIE_H_ */
69
70