2019-12-06 22:06:05 -07:00
|
|
|
#ifndef __CONFIG_H_INCLUDED
|
|
|
|
#define __CONFIG_H_INCLUDED
|
|
|
|
|
|
|
|
#include "wintype.h"
|
|
|
|
|
|
|
|
typedef void (*PEXITFUNC)(void);
|
|
|
|
|
|
|
|
typedef struct tagGLOBAL_CONFIG {
|
|
|
|
PCSTR framebuffer_device;
|
2019-12-07 00:46:27 -07:00
|
|
|
PCSTR touchscreen_device;
|
2019-12-06 22:06:05 -07:00
|
|
|
UINT32 button_debounce;
|
|
|
|
UINT32 sys_mq_length;
|
|
|
|
} GLOBAL_CONFIG;
|
|
|
|
|
|
|
|
extern GLOBAL_CONFIG Gconfig;
|
|
|
|
|
2019-12-06 22:37:20 -07:00
|
|
|
extern HRESULT Config_setup(int argc, char *argv[]);
|
2019-12-06 22:06:05 -07:00
|
|
|
extern HRESULT Config_exitfunc(PEXITFUNC pfn);
|
|
|
|
|
|
|
|
#endif /* __CONFIG_H_INCLUDED */
|