2023-07-14 00:59:10 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
#include "board/config.h"
|
|
|
|
|
|
|
|
#include "hooklib/dvd.h"
|
|
|
|
#include "hooklib/touch.h"
|
2024-08-05 20:53:56 +02:00
|
|
|
#include "hooklib/printer.h"
|
2023-07-14 00:59:10 +02:00
|
|
|
|
|
|
|
#include "cmhook/cm-dll.h"
|
|
|
|
|
|
|
|
#include "platform/config.h"
|
|
|
|
|
2024-04-15 21:30:28 +02:00
|
|
|
#include "unityhook/config.h"
|
|
|
|
|
2023-07-14 00:59:10 +02:00
|
|
|
struct cm_hook_config {
|
|
|
|
struct platform_config platform;
|
|
|
|
struct aime_config aime;
|
|
|
|
struct dvd_config dvd;
|
|
|
|
struct io4_config io4;
|
2024-02-06 12:34:11 +01:00
|
|
|
struct vfd_config vfd;
|
2023-07-14 00:59:10 +02:00
|
|
|
struct cm_dll_config dll;
|
|
|
|
struct touch_screen_config touch;
|
2024-08-05 20:53:56 +02:00
|
|
|
struct printer_config printer;
|
2024-04-15 21:30:28 +02:00
|
|
|
struct unity_config unity;
|
2023-07-14 00:59:10 +02: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);
|