cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync/*
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Copyright 2002 Red Hat Inc., Durham, North Carolina.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync *
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * All Rights Reserved.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync *
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Permission is hereby granted, free of charge, to any person obtaining
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * a copy of this software and associated documentation files (the
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * "Software"), to deal in the Software without restriction, including
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * without limitation on the rights to use, copy, modify, merge,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * and to permit persons to whom the Software is furnished to do so,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * subject to the following conditions:
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync *
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * The above copyright notice and this permission notice (including the
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * next paragraph) shall be included in all copies or substantial
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * portions of the Software.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync *
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * SOFTWARE.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync */
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync/*
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Authors:
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Rickard E. (Rik) Faith <faith@redhat.com>
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync *
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync */
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync/** \file
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Interface for console device support. \see dmxconsole.c \see dmxcommon.c */
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#ifndef _DMXCONSOLE_H_
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#define _DMXCONSOLE_H_
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern pointer dmxConsoleCreatePrivate(DeviceIntPtr pDevice);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleDestroyPrivate(pointer private);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleInit(DevicePtr pDev);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleReInit(DevicePtr pDev);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleMouGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleKbdGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleCollectEvents(DevicePtr pDev,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync dmxMotionProcPtr motion,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync dmxEnqueueProcPtr enqueue,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync dmxCheckSpecialProcPtr checkspecial,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync DMXBlockType block);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern int dmxConsoleFunctions(pointer private, DMXFunctionType function);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleUpdatePosition(pointer private, int x, int y);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleKbdSetCtrl(pointer private, KeybdCtrl *ctrl);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleCapture(DMXInputInfo *dmxInput);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleUncapture(DMXInputInfo *dmxInput);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern void dmxConsoleUpdateInfo(pointer private,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync DMXUpdateType, WindowPtr pWindow);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#endif