midbe.h revision 6747b715
105b261ecSmrg/******************************************************************************
205b261ecSmrg * Copyright (c) 1994, 1995  Hewlett-Packard Company
305b261ecSmrg *
405b261ecSmrg * Permission is hereby granted, free of charge, to any person obtaining
505b261ecSmrg * a copy of this software and associated documentation files (the
605b261ecSmrg * "Software"), to deal in the Software without restriction, including
705b261ecSmrg * without limitation the rights to use, copy, modify, merge, publish,
805b261ecSmrg * distribute, sublicense, and/or sell copies of the Software, and to
905b261ecSmrg * permit persons to whom the Software is furnished to do so, subject to
1005b261ecSmrg * the following conditions:
1105b261ecSmrg *
1205b261ecSmrg * The above copyright notice and this permission notice shall be included
1305b261ecSmrg * in all copies or substantial portions of the Software.
1405b261ecSmrg *
1505b261ecSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1605b261ecSmrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1705b261ecSmrg * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1805b261ecSmrg * IN NO EVENT SHALL HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY CLAIM,
1905b261ecSmrg * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
2005b261ecSmrg * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
2105b261ecSmrg * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2205b261ecSmrg *
2305b261ecSmrg * Except as contained in this notice, the name of the Hewlett-Packard
2405b261ecSmrg * Company shall not be used in advertising or otherwise to promote the
2505b261ecSmrg * sale, use or other dealings in this Software without prior written
2605b261ecSmrg * authorization from the Hewlett-Packard Company.
2705b261ecSmrg *
2805b261ecSmrg *     Header file for users of machine-independent DBE code
2905b261ecSmrg *
3005b261ecSmrg *****************************************************************************/
3105b261ecSmrg
3205b261ecSmrg#ifdef HAVE_DIX_CONFIG_H
3305b261ecSmrg#include <dix-config.h>
3405b261ecSmrg#endif
3505b261ecSmrg
3605b261ecSmrg#ifndef MIDBE_H
3705b261ecSmrg#define MIDBE_H
3805b261ecSmrg
396747b715Smrg#include "privates.h"
406747b715Smrg
4105b261ecSmrg/* EXTERNS */
4205b261ecSmrg
4305b261ecSmrgextern Bool miDbeInit(
4405b261ecSmrg    ScreenPtr           pScreen,
4505b261ecSmrg    DbeScreenPrivPtr    pDbeScreenPriv
4605b261ecSmrg);
4705b261ecSmrg
486747b715Smrgextern DevPrivateKeyRec dbeScreenPrivKeyRec;
496747b715Smrg#define dbeScreenPrivKey (&dbeScreenPrivKeyRec)
506747b715Smrg
516747b715Smrgextern DevPrivateKeyRec dbeWindowPrivKeyRec;
526747b715Smrg#define dbeWindowPrivKey (&dbeWindowPrivKeyRec)
536747b715Smrg
546747b715Smrgextern RESTYPE	dbeDrawableResType;
556747b715Smrgextern RESTYPE	dbeWindowPrivResType;
566747b715Smrg
5705b261ecSmrg#endif /* MIDBE_H */
5805b261ecSmrg
59