1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* Public Domain Curses */
#include "pdcwin.h"
void PDC_beep(void)
{
PDC_LOG(("PDC_beep() - called\n"));
/* MessageBeep(MB_OK); */
MessageBeep(0XFFFFFFFF);
}
void PDC_napms(int ms)
{
PDC_LOG(("PDC_napms() - called: ms=%d\n", ms));
Sleep(ms);
}
const char *PDC_sysname(void)
{
return "Win32";
}
PDC_version_info PDC_version = { PDC_PORT_WIN32,
PDC_VER_MAJOR, PDC_VER_MINOR, PDC_VER_CHANGE,
sizeof( chtype),
/* note that thus far, 'wide' and 'UTF8' versions exist */
/* only for SDL2, X11, Win32, and Win32a; elsewhere, */
/* these will be FALSE */
#ifdef PDC_WIDE
TRUE,
#else
FALSE,
#endif
#ifdef PDC_FORCE_UTF8
TRUE,
#else
FALSE,
#endif
};