Commit 5c982c90 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Adapted to EVENT_ driver changes.

parent 8c2dc8b1
......@@ -91,16 +91,11 @@ extern int TTYDRV_DESKTOP_GetScreenDepth(struct tagDESKTOP *pDesktop);
extern struct tagEVENT_DRIVER TTYDRV_EVENT_Driver;
extern BOOL TTYDRV_EVENT_Init(void);
extern void TTYDRV_EVENT_AddIO(int fd, unsigned flag);
extern void TTYDRV_EVENT_DeleteIO(int fd, unsigned flag);
extern BOOL TTYDRV_EVENT_WaitNetEvent(BOOL sleep, BOOL peek);
extern void TTYDRV_EVENT_Synchronize(void);
extern void TTYDRV_EVENT_Synchronize(BOOL bProcessEvents);
extern BOOL TTYDRV_EVENT_CheckFocus(void);
extern BOOL TTYDRV_EVENT_QueryPointer(DWORD *posX, DWORD *posY, DWORD *state);
extern void TTYDRV_EVENT_DummyMotionNotify(void);
extern BOOL TTYDRV_EVENT_Pending(void);
extern BOOL16 TTYDRV_EVENT_IsUserIdle(void);
extern void TTYDRV_EVENT_WakeUp(void);
extern void TTYDRV_EVENT_UserRepaintDisable(BOOL bDisable);
/* TTY keyboard driver */
......
......@@ -15,31 +15,9 @@ BOOL TTYDRV_EVENT_Init(void)
}
/***********************************************************************
* TTYDRV_EVENT_AddIO
*/
void TTYDRV_EVENT_AddIO(int fd, unsigned flag)
{
}
/***********************************************************************
* TTYDRV_EVENT_DeleteIO
*/
void TTYDRV_EVENT_DeleteIO(int fd, unsigned flag)
{
}
/***********************************************************************
* TTYDRV_EVENT_WaitNetEvent
*/
BOOL TTYDRV_EVENT_WaitNetEvent(BOOL sleep, BOOL peek)
{
return TRUE;
}
/***********************************************************************
* TTYDRV_EVENT_Synchronize
*/
void TTYDRV_EVENT_Synchronize(void)
void TTYDRV_EVENT_Synchronize( BOOL bProcessEvents )
{
}
......@@ -76,24 +54,9 @@ void TTYDRV_EVENT_DummyMotionNotify(void)
}
/***********************************************************************
* TTYDRV_EVENT_Pending
*/
BOOL TTYDRV_EVENT_Pending(void)
{
return FALSE;
}
/***********************************************************************
* TTYDRV_EVENT_IsUserIdle
* TTYDRV_EVENT_UserRepaintDisable
*/
BOOL16 TTYDRV_EVENT_IsUserIdle(void)
void TTYDRV_EVENT_UserRepaintDisable( BOOL bDisable )
{
return TRUE;
}
/**********************************************************************
* TTYDRV_EVENT_WakeUp
*/
void TTYDRV_EVENT_WakeUp(void)
{
}
......@@ -39,16 +39,11 @@ DESKTOP_DRIVER TTYDRV_DESKTOP_Driver =
EVENT_DRIVER TTYDRV_EVENT_Driver =
{
TTYDRV_EVENT_Init,
TTYDRV_EVENT_AddIO,
TTYDRV_EVENT_DeleteIO,
TTYDRV_EVENT_WaitNetEvent,
TTYDRV_EVENT_Synchronize,
TTYDRV_EVENT_CheckFocus,
TTYDRV_EVENT_QueryPointer,
TTYDRV_EVENT_DummyMotionNotify,
TTYDRV_EVENT_Pending,
TTYDRV_EVENT_IsUserIdle,
TTYDRV_EVENT_WakeUp
TTYDRV_EVENT_UserRepaintDisable
};
KEYBOARD_DRIVER TTYDRV_KEYBOARD_Driver =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment