mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-08 12:35:08 +01:00
6540e252dc
*Cleaned up progress window source *Fixed compile warning on devkitPPC r22
33 lines
819 B
C
33 lines
819 B
C
/****************************************************************************
|
|
* ProgressWindow
|
|
* USB Loader GX 2009
|
|
*
|
|
* ProgressWindow.h
|
|
***************************************************************************/
|
|
|
|
#ifndef _PROGRESSWINDOW_H_
|
|
#define _PROGRESSWINDOW_H_
|
|
|
|
typedef void (*ProgressAbortCallback)(void);
|
|
|
|
#ifdef __cplusplus
|
|
|
|
void InitProgressThread();
|
|
void ExitProgressThread();
|
|
void ShowProgress(const char *title, const char *msg1, const char *msg2, s64 done, s64 total, bool swSize = false, bool swTime = false);
|
|
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
void StartProgress(const char * title, const char * msg1, const char * msg2, bool swSize, bool swTime);
|
|
void ShowProgress(s64 done, s64 total);
|
|
void ProgressSetAbortCallback(ProgressAbortCallback callback);
|
|
void ProgressStop();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|