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