mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 01:09:16 +01:00
4ce0b624d1
*Added cancel button to progress for extracting all saves or nand paths
35 lines
872 B
C
35 lines
872 B
C
/****************************************************************************
|
|
* ProgressWindow
|
|
* USB Loader GX 2009
|
|
*
|
|
* ProgressWindow.h
|
|
***************************************************************************/
|
|
|
|
#ifndef _PROGRESSWINDOW_H_
|
|
#define _PROGRESSWINDOW_H_
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#define PROGRESS_CANCELED -12345
|
|
|
|
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);
|
|
void ShowProgress(const char *msg2, s64 done, s64 total);
|
|
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
void ProgressCancelEnable(bool allowCancel);
|
|
void StartProgress(const char * title, const char * msg1, const char * msg2, bool swSize, bool swTime);
|
|
void ShowProgress(s64 done, s64 total);
|
|
bool ProgressCanceled();
|
|
void ProgressStop();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|