wut
1.0.0-beta9
Wii U Toolchain
|
BOOL ProcUIIsRunning()
Determines whether the application is running.
@ PROCUI_STATUS_IN_FOREGROUND
The application is in the foreground. All resources may be used.
@ PROCUI_CALLBACK_NET_IO_START
Application may start using networking.
@ PROCUI_CALLBACK_EXIT
Application must exit.
uint32_t(* ProcUISaveCallbackEx)(void *)
Called when the application needs to save.
@ PROCUI_CALLBACK_RELEASE
Application must release the foreground.
void ProcUIRegisterCallback(ProcUICallbackType type, ProcUICallback callback, void *param, uint32_t priority)
Register a callback for certain ProcUI events.
@ PROCUI_STATUS_RELEASE_FOREGROUND
The application must release the foregound - see ProcUIDrawDoneRelease()
ProcUIStatus ProcUIProcessMessages(BOOL block)
Main runloop for ProcUI.
void ProcUIShutdown()
Shut down the ProcUI library for the current application.
@ PROCUI_CALLBACK_HOME_BUTTON_DENIED
The user attempted to press the HOME button but was denied.
BOOL ProcUIInShutdown()
Determines whether the application is in shutdown and should quit.
void ProcUIClearCallbacks()
Unregister all ProcUI callbacks.
uint32_t ProcUICalcMemorySize(uint32_t unk)
@ PROCUI_STATUS_EXITING
The application must release all resources (including ProcUI) and quit.
void ProcUISetSaveCallback(ProcUISaveCallbackEx saveCallback, void *arg)
Sets the save callback.
uint32_t(* ProcUICallback)(void *)
Generic ProcUI callback.
void ProcUIInitEx(ProcUISaveCallbackEx saveCallback, void *arg)
Initialises the ProcUI library for use; using a save callback that takes arguments.
void(* ProcUISaveCallback)(void)
Called when the application needs to save.
void ProcUIRegisterCallbackCore(ProcUICallbackType type, ProcUICallback callback, void *param, uint32_t priority, uint32_t core)
Register a callback for certain ProcUI events, executed on the given core.
BOOL ProcUIInForeground()
Determines whether the application is in the foreground.
@ PROCUI_CALLBACK_NET_IO_STOP
Application must stop using networking.
@ PROCUI_STATUS_IN_BACKGROUND
The application is in the background, only limited resources are usable.
void ProcUIInit(ProcUISaveCallback saveCallback)
Initialises the ProcUI library for use.
@ PROCUI_CALLBACK_ACQUIRE
Application acquires the foreground.
ProcUIStatus ProcUISubProcessMessages(BOOL block)
ProcUIProcessMessages(), but for secondary cores.
void ProcUIDrawDoneRelease()
Signifies to ProcUI that the current application has released all foreground resources,...