Commit | Line | Data |
---|---|---|
a09e091a JB |
1 | /****************************************************************************** |
2 | * Copyright (c) 1994, 1995 Hewlett-Packard Company | |
3 | * | |
4 | * Permission is hereby granted, free of charge, to any person obtaining | |
5 | * a copy of this software and associated documentation files (the | |
6 | * "Software"), to deal in the Software without restriction, including | |
7 | * without limitation the rights to use, copy, modify, merge, publish, | |
8 | * distribute, sublicense, and/or sell copies of the Software, and to | |
9 | * permit persons to whom the Software is furnished to do so, subject to | |
10 | * the following conditions: | |
11 | * | |
12 | * The above copyright notice and this permission notice shall be included | |
13 | * in all copies or substantial portions of the Software. | |
14 | * | |
15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
16 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
18 | * IN NO EVENT SHALL HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY CLAIM, | |
19 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | |
20 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR | |
21 | * THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
22 | * | |
23 | * Except as contained in this notice, the name of the Hewlett-Packard | |
24 | * Company shall not be used in advertising or otherwise to promote the | |
25 | * sale, use or other dealings in this Software without prior written | |
26 | * authorization from the Hewlett-Packard Company. | |
27 | * | |
28 | * Header file for users of machine-independent DBE code | |
29 | * | |
30 | *****************************************************************************/ | |
31 | ||
32 | #ifdef HAVE_DIX_CONFIG_H | |
33 | #include <dix-config.h> | |
34 | #endif | |
35 | ||
36 | #ifndef MIDBE_H | |
37 | #define MIDBE_H | |
38 | ||
39 | #include "privates.h" | |
40 | ||
41 | /* EXTERNS */ | |
42 | ||
43 | extern Bool miDbeInit(ScreenPtr pScreen, DbeScreenPrivPtr pDbeScreenPriv); | |
44 | ||
45 | extern DevPrivateKeyRec dbeScreenPrivKeyRec; | |
46 | ||
47 | #define dbeScreenPrivKey (&dbeScreenPrivKeyRec) | |
48 | ||
49 | extern DevPrivateKeyRec dbeWindowPrivKeyRec; | |
50 | ||
51 | #define dbeWindowPrivKey (&dbeWindowPrivKeyRec) | |
52 | ||
53 | extern RESTYPE dbeDrawableResType; | |
54 | extern RESTYPE dbeWindowPrivResType; | |
55 | ||
56 | #endif /* MIDBE_H */ |