mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 14:38:13 +01:00
Add basic ProcUI RPL imports
This commit is contained in:
parent
0dc5e4fbec
commit
8faf7c7f38
68
include/proc_ui/procui.h
Normal file
68
include/proc_ui/procui.h
Normal file
@ -0,0 +1,68 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup proc_ui_procui ProcUI
|
||||
* \ingroup proc_ui
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
"C" {
|
||||
#endif
|
||||
|
||||
typedef void (*ProcUISaveCallback)(void);
|
||||
typedef uint32_t (*ProcUISaveCallbackEx)(void*);
|
||||
typedef uint32_t (*ProcUICallback)(void*);
|
||||
|
||||
typedef enum ProcUIStatus
|
||||
{
|
||||
PROCUI_STATUS_IN_FOREGROUND,
|
||||
PROCUI_STATUS_IN_BACKGROUND,
|
||||
PROCUI_STATUS_RELEASE_FOREGROUND,
|
||||
PROCUI_STATUS_EXITING,
|
||||
} ProcUIStatus;
|
||||
|
||||
uint32_t
|
||||
ProcUICalcMemorySize(uint32_t unk);
|
||||
|
||||
void
|
||||
ProcUIClearCallbacks();
|
||||
|
||||
void
|
||||
ProcUIDrawDoneRelease();
|
||||
|
||||
BOOL
|
||||
ProcUIInForeground();
|
||||
|
||||
BOOL
|
||||
ProcUIInShutdown();
|
||||
|
||||
void
|
||||
ProcUIInit(ProcUISaveCallback saveCallback);
|
||||
|
||||
void
|
||||
ProcUIInitEx(ProcUISaveCallbackEx saveCallback,
|
||||
void *arg);
|
||||
|
||||
BOOL
|
||||
ProcUIIsRunning();
|
||||
|
||||
ProcUIStatus
|
||||
ProcUIProcessMessages(BOOL block);
|
||||
|
||||
void
|
||||
ProcUISetSaveCallback(ProcUISaveCallbackEx saveCallback,
|
||||
void *arg);
|
||||
|
||||
void
|
||||
ProcUIShutdown();
|
||||
|
||||
ProcUIStatus
|
||||
ProcUISubProcessMessages();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
@ -1,5 +1,5 @@
|
||||
WUT_ROOT := $(CURDIR)/..
|
||||
TARGETS := libcoreinit libgx2 libnsysnet libvpad libsysapp
|
||||
TARGETS := libcoreinit libgx2 libnsysnet libvpad libsysapp libproc_ui
|
||||
|
||||
all:
|
||||
@for dir in $(TARGETS); do \
|
||||
|
2
rpl/libproc_ui/Makefile
Normal file
2
rpl/libproc_ui/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
-include ../common/rules.mk
|
||||
-include ../../common/rules.mk
|
1
rpl/libproc_ui/config.h
Normal file
1
rpl/libproc_ui/config.h
Normal file
@ -0,0 +1 @@
|
||||
#define LIBRARY_NAME "proc_ui"
|
14
rpl/libproc_ui/exports.h
Normal file
14
rpl/libproc_ui/exports.h
Normal file
@ -0,0 +1,14 @@
|
||||
// procui/procui.h
|
||||
EXPORT(ProcUICalcMemorySize);
|
||||
EXPORT(ProcUIClearCallbacks);
|
||||
EXPORT(ProcUIDrawDoneRelease);
|
||||
EXPORT(ProcUIInForeground);
|
||||
EXPORT(ProcUIInShutdown);
|
||||
EXPORT(ProcUIInit);
|
||||
EXPORT(ProcUIInitEx);
|
||||
EXPORT(ProcUIIsRunning);
|
||||
EXPORT(ProcUIProcessMessages);
|
||||
EXPORT(ProcUISetSaveCallback);
|
||||
EXPORT(ProcUIShutdown);
|
||||
EXPORT(ProcUISubProcessMessages);
|
||||
|
Loading…
Reference in New Issue
Block a user