Site: add link to Jean Baptiste Favre and Xavier Janer web sites
[adesklets.git] / src / types.h
blobd6af7a81b6517ad25ff0f0a57e598062d1f2ff1b
1 /*--- types.h ------------------------------------------------------------------
2 Copyright (C) 2004, 2005, 2006 Sylvain Fourmanoit <syfou@users.sourceforge.net>
4 Permission is hereby granted, free of charge, to any person obtaining a copy
5 of this software and associated documentation files (the "Software"), to
6 deal in the Software without restriction, including without limitation the
7 rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8 sell copies of the Software, and to permit persons to whom the Software is
9 furnished to do so, subject to the following conditions:
11 The above copyright notice and this permission notice shall be included in
12 all copies of the Software and its documentation and acknowledgment shall be
13 given in the documentation and software packages that this Software was
14 used.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 ------------------------------------------------------------------------------*/
23 /* Generic defines and typedef declarations
26 /*----------------------------------------------------------------------------*/
27 #ifndef HAVE_TYPES_H
28 #define HAVE_TYPES_H
30 #ifndef HAVE_CONFIG_H
31 #error Autogenerated config.h should be used.
32 #endif
34 /*----------------------------------------------------------------------------*/
35 #include "config.h" /* Autoconf */
37 /*----------------------------------------------------------------------------*/
38 #ifdef UINT_NOT_DEFINED
39 typedef unsigned int uint;
40 #else
41 #ifdef HAVE_SYS_TYPES_H
42 #include <sys/types.h>
43 #endif
44 #ifdef HAVE_UNISTD_H
45 #include <unistd.h>
46 #endif
47 #endif
48 #ifndef X_DISPLAY_MISSING
49 #define BackgroundGrabMask (1L<<29) /* Pseudo X event mask for
50 non-X events:
51 will not cause problem as long
52 as X will not evolve and use those
53 bits (enumeration stops at 25 right
54 now - see X11/X.h) */
55 #define MenuFireMask (1L<<30)
56 #endif
58 /*----------------------------------------------------------------------------*/
59 #endif