mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 14:18:15 +01:00
Add basic sysapp RPL imports
This commit is contained in:
parent
60e3575f59
commit
cdb90a39a7
40
include/sysapp/launch.h
Normal file
40
include/sysapp/launch.h
Normal file
@ -0,0 +1,40 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup sysapp_launch SYSAPP Launch
|
||||
* \ingroup sysapp
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
"C" {
|
||||
#endif
|
||||
|
||||
void
|
||||
SYSRelaunchTitle(uint32_t argc,
|
||||
char *pa_Argv[]);
|
||||
|
||||
void
|
||||
SYSLaunchMenu();
|
||||
|
||||
void
|
||||
SYSLaunchTitle(uint64_t TitleId);
|
||||
|
||||
void
|
||||
_SYSLaunchMiiStudio();
|
||||
|
||||
void
|
||||
_SYSLaunchSettings();
|
||||
|
||||
void
|
||||
_SYSLaunchParental();
|
||||
|
||||
void
|
||||
_SYSLaunchNotifications();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
36
include/sysapp/switch.h
Normal file
36
include/sysapp/switch.h
Normal file
@ -0,0 +1,36 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup sysapp_switch SYSAPP Switch
|
||||
* \ingroup sysapp
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
"C" {
|
||||
#endif
|
||||
|
||||
//TODO
|
||||
typedef void sysapp_input_struct;
|
||||
|
||||
void
|
||||
SYSSwitchToSyncControllerOnHBM();
|
||||
|
||||
void
|
||||
SYSSwitchToEManual();
|
||||
|
||||
void
|
||||
SYSSwitchToEShop();
|
||||
|
||||
void
|
||||
_SYSSwitchToMainApp();
|
||||
|
||||
void
|
||||
SYSSwitchToBrowserForViewer(sysapp_input_struct*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
@ -1,5 +1,5 @@
|
||||
WUT_ROOT := $(CURDIR)/..
|
||||
TARGETS := libcoreinit libgx2 libnsysnet libvpad
|
||||
TARGETS := libcoreinit libgx2 libnsysnet libvpad libsysapp
|
||||
|
||||
all:
|
||||
@for dir in $(TARGETS); do \
|
||||
|
2
rpl/libsysapp/Makefile
Normal file
2
rpl/libsysapp/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
-include ../common/rules.mk
|
||||
-include ../../common/rules.mk
|
1
rpl/libsysapp/config.h
Normal file
1
rpl/libsysapp/config.h
Normal file
@ -0,0 +1 @@
|
||||
#define LIBRARY_NAME "sysapp"
|
15
rpl/libsysapp/exports.h
Normal file
15
rpl/libsysapp/exports.h
Normal file
@ -0,0 +1,15 @@
|
||||
// sysapp/switch.h
|
||||
EXPORT(SYSSwitchToSyncControllerOnHBM);
|
||||
EXPORT(SYSSwitchToEManual);
|
||||
EXPORT(SYSSwitchToEShop);
|
||||
EXPORT(_SYSSwitchToMainApp);
|
||||
EXPORT(SYSSwitchToBrowserForViewer);
|
||||
|
||||
// sysapp/launch.h
|
||||
EXPORT(SYSRelaunchTitle);
|
||||
EXPORT(SYSLaunchMenu);
|
||||
EXPORT(SYSLaunchTitle);
|
||||
EXPORT(_SYSLaunchMiiStudio);
|
||||
EXPORT(_SYSLaunchSettings);
|
||||
EXPORT(_SYSLaunchParental);
|
||||
EXPORT(_SYSLaunchNotifications);
|
Loading…
Reference in New Issue
Block a user