2023-07-13 22:59:10 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
#include "board/config.h"
|
|
|
|
|
|
|
|
#include "hooklib/dvd.h"
|
|
|
|
#include "hooklib/touch.h"
|
2024-08-05 18:53:56 +00:00
|
|
|
#include "hooklib/printer.h"
|
2023-07-13 22:59:10 +00:00
|
|
|
|
|
|
|
#include "cmhook/cm-dll.h"
|
|
|
|
|
|
|
|
#include "platform/config.h"
|
|
|
|
|
2024-04-15 19:30:28 +00:00
|
|
|
#include "unityhook/config.h"
|
|
|
|
|
2023-07-13 22:59:10 +00:00
|
|
|
struct cm_hook_config {
|
|
|
|
struct platform_config platform;
|
|
|
|
struct aime_config aime;
|
|
|
|
struct dvd_config dvd;
|
|
|
|
struct io4_config io4;
|
2024-02-06 11:34:11 +00:00
|
|
|
struct vfd_config vfd;
|
2023-07-13 22:59:10 +00:00
|
|
|
struct cm_dll_config dll;
|
|
|
|
struct touch_screen_config touch;
|
2024-08-05 18:53:56 +00:00
|
|
|
struct printer_config printer;
|
2024-04-15 19:30:28 +00:00
|
|
|
struct unity_config unity;
|
2023-07-13 22:59:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void cm_dll_config_load(
|
|
|
|
struct cm_dll_config *cfg,
|
|
|
|
const wchar_t *filename);
|
|
|
|
|
|
|
|
void cm_hook_config_load(
|
|
|
|
struct cm_hook_config *cfg,
|
|
|
|
const wchar_t *filename);
|