2019-01-21 08:13:16 +01:00
|
|
|
/**
|
|
|
|
* @file setsys_shim.h
|
|
|
|
* @brief System Settings Services (set:sys) IPC wrapper. To be merged into libnx, eventually.
|
|
|
|
* @author SciresM
|
|
|
|
* @copyright libnx Authors
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <switch.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
char edid[0x100];
|
|
|
|
} SetSysEdid;
|
|
|
|
|
|
|
|
/* Command forwarders. */
|
|
|
|
Result setsysGetEdidFwd(Service* s, SetSysEdid* out);
|
2019-01-21 10:09:06 +01:00
|
|
|
Result setsysGetSettingsItemValueFwd(Service* s, const char *name, const char *item_key, void *value_out, size_t value_out_size, u64 *size_out);
|
2019-01-21 08:13:16 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|