mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 23:30:39 +01:00
proc_ui: Add ProcUIRegisterCallback{Core}.
This commit is contained in:
parent
fcafa791b3
commit
8c93d5b3c8
@ -12,8 +12,18 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef void (*ProcUISaveCallback)(void);
|
typedef void (*ProcUISaveCallback)(void);
|
||||||
typedef uint32_t (*ProcUISaveCallbackEx)(void*);
|
typedef uint32_t (*ProcUISaveCallbackEx)(void *);
|
||||||
typedef uint32_t (*ProcUICallback)(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
|
typedef enum ProcUIStatus
|
||||||
{
|
{
|
||||||
@ -51,6 +61,19 @@ ProcUIIsRunning();
|
|||||||
ProcUIStatus
|
ProcUIStatus
|
||||||
ProcUIProcessMessages(BOOL block);
|
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
|
void
|
||||||
ProcUISetSaveCallback(ProcUISaveCallbackEx saveCallback,
|
ProcUISetSaveCallback(ProcUISaveCallbackEx saveCallback,
|
||||||
void *arg);
|
void *arg);
|
||||||
|
@ -8,6 +8,8 @@ EXPORT(ProcUIInit);
|
|||||||
EXPORT(ProcUIInitEx);
|
EXPORT(ProcUIInitEx);
|
||||||
EXPORT(ProcUIIsRunning);
|
EXPORT(ProcUIIsRunning);
|
||||||
EXPORT(ProcUIProcessMessages);
|
EXPORT(ProcUIProcessMessages);
|
||||||
|
EXPORT(ProcUIRegisterCallback);
|
||||||
|
EXPORT(ProcUIRegisterCallbackCore);
|
||||||
EXPORT(ProcUISetSaveCallback);
|
EXPORT(ProcUISetSaveCallback);
|
||||||
EXPORT(ProcUIShutdown);
|
EXPORT(ProcUIShutdown);
|
||||||
EXPORT(ProcUISubProcessMessages);
|
EXPORT(ProcUISubProcessMessages);
|
||||||
|
Loading…
Reference in New Issue
Block a user