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); ...@@ -91,16 +91,11 @@ extern int TTYDRV_DESKTOP_GetScreenDepth(struct tagDESKTOP *pDesktop);
extern struct tagEVENT_DRIVER TTYDRV_EVENT_Driver; extern struct tagEVENT_DRIVER TTYDRV_EVENT_Driver;
extern BOOL TTYDRV_EVENT_Init(void); extern BOOL TTYDRV_EVENT_Init(void);
extern void TTYDRV_EVENT_AddIO(int fd, unsigned flag); extern void TTYDRV_EVENT_Synchronize(BOOL bProcessEvents);
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 BOOL TTYDRV_EVENT_CheckFocus(void); extern BOOL TTYDRV_EVENT_CheckFocus(void);
extern BOOL TTYDRV_EVENT_QueryPointer(DWORD *posX, DWORD *posY, DWORD *state); extern BOOL TTYDRV_EVENT_QueryPointer(DWORD *posX, DWORD *posY, DWORD *state);
extern void TTYDRV_EVENT_DummyMotionNotify(void); extern void TTYDRV_EVENT_DummyMotionNotify(void);
extern BOOL TTYDRV_EVENT_Pending(void); extern void TTYDRV_EVENT_UserRepaintDisable(BOOL bDisable);
extern BOOL16 TTYDRV_EVENT_IsUserIdle(void);
extern void TTYDRV_EVENT_WakeUp(void);
/* TTY keyboard driver */ /* TTY keyboard driver */
......
...@@ -15,31 +15,9 @@ BOOL TTYDRV_EVENT_Init(void) ...@@ -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 * TTYDRV_EVENT_Synchronize
*/ */
void TTYDRV_EVENT_Synchronize(void) void TTYDRV_EVENT_Synchronize( BOOL bProcessEvents )
{ {
} }
...@@ -76,24 +54,9 @@ void TTYDRV_EVENT_DummyMotionNotify(void) ...@@ -76,24 +54,9 @@ void TTYDRV_EVENT_DummyMotionNotify(void)
} }
/*********************************************************************** /***********************************************************************
* TTYDRV_EVENT_Pending * TTYDRV_EVENT_UserRepaintDisable
*/
BOOL TTYDRV_EVENT_Pending(void)
{
return FALSE;
}
/***********************************************************************
* TTYDRV_EVENT_IsUserIdle
*/ */
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 = ...@@ -39,16 +39,11 @@ DESKTOP_DRIVER TTYDRV_DESKTOP_Driver =
EVENT_DRIVER TTYDRV_EVENT_Driver = EVENT_DRIVER TTYDRV_EVENT_Driver =
{ {
TTYDRV_EVENT_Init, TTYDRV_EVENT_Init,
TTYDRV_EVENT_AddIO,
TTYDRV_EVENT_DeleteIO,
TTYDRV_EVENT_WaitNetEvent,
TTYDRV_EVENT_Synchronize, TTYDRV_EVENT_Synchronize,
TTYDRV_EVENT_CheckFocus, TTYDRV_EVENT_CheckFocus,
TTYDRV_EVENT_QueryPointer, TTYDRV_EVENT_QueryPointer,
TTYDRV_EVENT_DummyMotionNotify, TTYDRV_EVENT_DummyMotionNotify,
TTYDRV_EVENT_Pending, TTYDRV_EVENT_UserRepaintDisable
TTYDRV_EVENT_IsUserIdle,
TTYDRV_EVENT_WakeUp
}; };
KEYBOARD_DRIVER TTYDRV_KEYBOARD_Driver = 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