File:
[RetroPC.NET] /
np2 /
x11 /
sysmng.h
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Mon Nov 17 01:43:45 2003 JST (21 years, 11 months ago) by
monaka
Branches:
MAIN
CVS tags:
VER_0_82_x64,
VER_0_82,
VER_0_81A,
VER_0_81,
VER_0_80,
VER_0_79,
VER_0_78,
VER_0_77,
VER_0_76,
VER_0_75,
VER_0_74,
VER_0_73,
VER_0_72,
HEAD
Neko Project II for X11 (only support GTK+ GUI Toolkit)
#ifndef NP2_X11_SYSMNG_H__
#define NP2_X11_SYSMNG_H__
#include "toolwin.h"
// どーでもいい通知系
enum {
SYS_UPDATECFG = 0x0001,
SYS_UPDATEOSCFG = 0x0002,
SYS_UPDATECLOCK = 0x0004,
SYS_UPDATERATE = 0x0008,
SYS_UPDATESBUF = 0x0010,
SYS_UPDATEMIDI = 0x0020,
SYS_UPDATESBOARD = 0x0040,
SYS_UPDATEFDD = 0x0080,
SYS_UPDATEHDD = 0x0100,
SYS_UPDATEMEMORY = 0x0200,
SYS_UPDATESERIAL1 = 0x0400
};
#ifdef __cplusplus
extern "C" {
#endif
extern UINT sys_updates;
#define sysmng_initialize() \
do { \
sys_updates = 0; \
} while (/*CONSTCOND*/ 0)
#define sysmng_update(a) \
do { \
sys_updates |= (a); \
if ((a) & SYS_UPDATEFDD) \
sysmng_updatecaption(1); \
} while (/*CONSTCOND*/ 0)
#define sysmng_cpureset() \
do { \
sys_updates &= (SYS_UPDATECFG | SYS_UPDATEOSCFG); \
sysmng_workclockreset(); \
} while (/*CONSTCOND*/ 0)
#define sysmng_fddaccess(a) toolwin_fddaccess((a))
#define sysmng_hddaccess(a) toolwin_hddaccess((a))
void sysmng_workclockreset(void);
BOOL sysmng_workclockrenewal(void);
void sysmng_updatecaption(BYTE flag);
#ifdef __cplusplus
}
#endif
#endif /* NP2_X11_SYSMNG_H__ */
RetroPC.NET-CVS <cvs@retropc.net>