1999-02-04 14:14:42 +01:00
|
|
|
/*
|
|
|
|
* TTY main driver
|
|
|
|
*
|
|
|
|
* Copyright 1998 Patrik Stridvall
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
1999-11-24 00:43:29 +01:00
|
|
|
#include "config.h"
|
|
|
|
|
1999-04-01 10:16:08 +02:00
|
|
|
#include "clipboard.h"
|
|
|
|
#include "desktop.h"
|
|
|
|
#include "message.h"
|
|
|
|
#include "keyboard.h"
|
|
|
|
#include "monitor.h"
|
|
|
|
#include "mouse.h"
|
1999-02-04 14:14:42 +01:00
|
|
|
#include "ttydrv.h"
|
1999-04-01 10:16:08 +02:00
|
|
|
#include "win.h"
|
1999-02-04 14:14:42 +01:00
|
|
|
|
|
|
|
/***********************************************************************
|
1999-04-01 10:16:08 +02:00
|
|
|
* TTYDRV_USER_Initialize
|
1999-02-04 14:14:42 +01:00
|
|
|
*/
|
1999-04-01 10:16:08 +02:00
|
|
|
BOOL TTYDRV_USER_Initialize(void)
|
1999-02-04 14:14:42 +01:00
|
|
|
{
|
1999-04-01 10:16:08 +02:00
|
|
|
CLIPBOARD_Driver = &TTYDRV_CLIPBOARD_Driver;
|
|
|
|
DESKTOP_Driver = &TTYDRV_DESKTOP_Driver;
|
|
|
|
EVENT_Driver = &TTYDRV_EVENT_Driver;
|
|
|
|
KEYBOARD_Driver = &TTYDRV_KEYBOARD_Driver;
|
|
|
|
MONITOR_Driver = &TTYDRV_MONITOR_Driver;
|
|
|
|
MOUSE_Driver = &TTYDRV_MOUSE_Driver;
|
|
|
|
WND_Driver = &TTYDRV_WND_Driver;
|
1999-02-04 14:14:42 +01:00
|
|
|
|
1999-04-01 10:16:08 +02:00
|
|
|
return TRUE;
|
1999-02-04 14:14:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
1999-04-01 10:16:08 +02:00
|
|
|
* TTYDRV_USER_Finalize
|
1999-02-04 14:14:42 +01:00
|
|
|
*/
|
1999-04-01 10:16:08 +02:00
|
|
|
void TTYDRV_USER_Finalize(void)
|
1999-02-04 14:14:42 +01:00
|
|
|
{
|
1999-11-24 00:43:29 +01:00
|
|
|
#ifdef HAVE_LIBCURSES
|
|
|
|
endwin();
|
|
|
|
#endif /* defined(HAVE_LIBCURSES) */
|
1999-02-04 14:14:42 +01:00
|
|
|
}
|
|
|
|
|
1999-04-01 10:16:08 +02:00
|
|
|
/**************************************************************************
|
|
|
|
* TTYDRV_USER_BeginDebugging
|
1999-02-04 14:14:42 +01:00
|
|
|
*/
|
1999-04-01 10:16:08 +02:00
|
|
|
void TTYDRV_USER_BeginDebugging(void)
|
1999-02-04 14:14:42 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
1999-04-01 10:16:08 +02:00
|
|
|
/**************************************************************************
|
|
|
|
* TTYDRV_USER_EndDebugging
|
1999-02-04 14:14:42 +01:00
|
|
|
*/
|
1999-04-01 10:16:08 +02:00
|
|
|
void TTYDRV_USER_EndDebugging(void)
|
1999-02-04 14:14:42 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
1999-04-01 10:16:08 +02:00
|
|
|
|