1
0
mirror of synced 2025-02-21 12:51:08 +01:00
bananatools/saohook/config.h

47 lines
1015 B
C
Raw Normal View History

2023-09-18 04:05:22 -04:00
#pragma once
#include <stddef.h>
#include "saohook/sao-dll.h"
#include "platform/config.h"
#include "gfxhook/config.h"
#include "amcus/config.h"
#include "board/config.h"
2023-12-10 18:48:47 -05:00
#include "saohook/systype.h"
#include "saohook/touch.h"
2023-09-18 04:05:22 -04:00
struct sao_hook_config {
struct platform_config platform;
struct aime_config aime;
struct sao_dll_config dll;
struct gfx_config gfx;
struct amcus_config amcus;
struct qr_config qr;
struct bpreader_config reader;
struct usio_config usio;
2023-12-10 18:48:47 -05:00
struct systype_config systype;
struct sao_touch_config touch;
2023-09-18 04:05:22 -04:00
};
void sao_dll_config_load(
struct sao_dll_config *cfg,
const wchar_t *filename);
void qr_config_load(
struct qr_config *cfg,
const wchar_t *filename);
void sao_hook_config_load(
struct sao_hook_config *cfg,
const wchar_t *filename);
2023-12-10 18:48:47 -05:00
void systype_config_load(
struct systype_config *cfg,
const wchar_t *filename);
void sao_touch_config_load(
struct sao_touch_config *cfg,
const wchar_t *filename);