mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 14:18:15 +01:00
proc_ui: Add ProcUIRegisterCallback{Core}.
This commit is contained in:
parent
fcafa791b3
commit
8c93d5b3c8
@ -12,8 +12,18 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
typedef void (*ProcUISaveCallback)(void);
|
||||
typedef uint32_t (*ProcUISaveCallbackEx)(void*);
|
||||
typedef uint32_t (*ProcUICallback)(void*);
|
||||
typedef uint32_t (*ProcUISaveCallbackEx)(void *);
|
||||
typedef uint32_t (*ProcUICallback)(void *);
|
||||
|
||||
typedef enum ProcUICallbackType
|
||||
{
|
||||
PROCUI_CALLBACK_ACQUIRE,
|
||||
PROCUI_CALLBACK_RELEASE,
|
||||
PROCUI_CALLBACK_EXIT,
|
||||
PROCUI_CALLBACK_NET_IO_START,
|
||||
PROCUI_CALLBACK_NET_IO_STOP,
|
||||
PROCUI_CALLBACK_HOME_BUTTON_DENIED,
|
||||
} ProcUICallbackType;
|
||||
|
||||
typedef enum ProcUIStatus
|
||||
{
|
||||
@ -51,6 +61,19 @@ ProcUIIsRunning();
|
||||
ProcUIStatus
|
||||
ProcUIProcessMessages(BOOL block);
|
||||
|
||||
void
|
||||
ProcUIRegisterCallback(ProcUICallbackType type,
|
||||
ProcUICallback callback,
|
||||
void *param,
|
||||
uint32_t priority);
|
||||
|
||||
void
|
||||
ProcUIRegisterCallbackCore(ProcUICallbackType type,
|
||||
ProcUICallback callback,
|
||||
void *param,
|
||||
uint32_t priority,
|
||||
uint32_t core);
|
||||
|
||||
void
|
||||
ProcUISetSaveCallback(ProcUISaveCallbackEx saveCallback,
|
||||
void *arg);
|
||||
|
@ -8,6 +8,8 @@ EXPORT(ProcUIInit);
|
||||
EXPORT(ProcUIInitEx);
|
||||
EXPORT(ProcUIIsRunning);
|
||||
EXPORT(ProcUIProcessMessages);
|
||||
EXPORT(ProcUIRegisterCallback);
|
||||
EXPORT(ProcUIRegisterCallbackCore);
|
||||
EXPORT(ProcUISetSaveCallback);
|
||||
EXPORT(ProcUIShutdown);
|
||||
EXPORT(ProcUISubProcessMessages);
|
||||
|
Loading…
Reference in New Issue
Block a user