1706f2543Smrg/****************************************************************************** 2706f2543Smrg * Copyright (c) 1994, 1995 Hewlett-Packard Company 3706f2543Smrg * 4706f2543Smrg * Permission is hereby granted, free of charge, to any person obtaining 5706f2543Smrg * a copy of this software and associated documentation files (the 6706f2543Smrg * "Software"), to deal in the Software without restriction, including 7706f2543Smrg * without limitation the rights to use, copy, modify, merge, publish, 8706f2543Smrg * distribute, sublicense, and/or sell copies of the Software, and to 9706f2543Smrg * permit persons to whom the Software is furnished to do so, subject to 10706f2543Smrg * the following conditions: 11706f2543Smrg * 12706f2543Smrg * The above copyright notice and this permission notice shall be included 13706f2543Smrg * in all copies or substantial portions of the Software. 14706f2543Smrg * 15706f2543Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 16706f2543Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17706f2543Smrg * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18706f2543Smrg * IN NO EVENT SHALL HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY CLAIM, 19706f2543Smrg * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 20706f2543Smrg * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 21706f2543Smrg * THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22706f2543Smrg * 23706f2543Smrg * Except as contained in this notice, the name of the Hewlett-Packard 24706f2543Smrg * Company shall not be used in advertising or otherwise to promote the 25706f2543Smrg * sale, use or other dealings in this Software without prior written 26706f2543Smrg * authorization from the Hewlett-Packard Company. 27706f2543Smrg * 28706f2543Smrg * Header file for users of machine-independent DBE code 29706f2543Smrg * 30706f2543Smrg *****************************************************************************/ 31706f2543Smrg 32706f2543Smrg#ifdef HAVE_DIX_CONFIG_H 33706f2543Smrg#include <dix-config.h> 34706f2543Smrg#endif 35706f2543Smrg 36706f2543Smrg#ifndef MIDBE_H 37706f2543Smrg#define MIDBE_H 38706f2543Smrg 39706f2543Smrg#include "privates.h" 40706f2543Smrg 41706f2543Smrg/* EXTERNS */ 42706f2543Smrg 43706f2543Smrgextern Bool miDbeInit( 44706f2543Smrg ScreenPtr pScreen, 45706f2543Smrg DbeScreenPrivPtr pDbeScreenPriv 46706f2543Smrg); 47706f2543Smrg 48706f2543Smrgextern DevPrivateKeyRec dbeScreenPrivKeyRec; 49706f2543Smrg#define dbeScreenPrivKey (&dbeScreenPrivKeyRec) 50706f2543Smrg 51706f2543Smrgextern DevPrivateKeyRec dbeWindowPrivKeyRec; 52706f2543Smrg#define dbeWindowPrivKey (&dbeWindowPrivKeyRec) 53706f2543Smrg 54706f2543Smrgextern RESTYPE dbeDrawableResType; 55706f2543Smrgextern RESTYPE dbeWindowPrivResType; 56706f2543Smrg 57706f2543Smrg#endif /* MIDBE_H */ 58706f2543Smrg 59