2009-10-01 01:10:58 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* ProgressWindow
|
|
|
|
* USB Loader GX 2009
|
|
|
|
*
|
|
|
|
* ProgressWindow.h
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _PROGRESSWINDOW_H_
|
|
|
|
#define _PROGRESSWINDOW_H_
|
|
|
|
|
2010-12-17 18:50:44 +01:00
|
|
|
typedef void (*ProgressAbortCallback)(void);
|
|
|
|
|
2009-10-01 01:10:58 +02:00
|
|
|
void InitProgressThread();
|
|
|
|
void ExitProgressThread();
|
2010-09-24 02:48:03 +02:00
|
|
|
void SetupGameInstallProgress(char * titl, char * game);
|
2010-12-17 18:50:44 +01:00
|
|
|
void ShowProgress(const char *title, const char *msg1, const char *msg2, f32 done, f32 total, bool swSize = false,
|
2010-09-24 02:48:03 +02:00
|
|
|
bool swTime = false);
|
2009-10-01 01:10:58 +02:00
|
|
|
void ProgressStop();
|
2010-12-17 18:50:44 +01:00
|
|
|
void ProgressSetAbortCallback(ProgressAbortCallback callback);
|
2009-10-01 01:10:58 +02:00
|
|
|
|
2010-02-25 13:08:03 +01:00
|
|
|
#ifdef __cplusplus
|
2010-09-19 01:16:05 +02:00
|
|
|
extern "C"
|
|
|
|
{
|
2010-02-25 13:08:03 +01:00
|
|
|
#endif
|
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
void ProgressCallback(s64 gameinstalldone, s64 gameinstalltotal);
|
2010-02-25 13:08:03 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2009-10-01 01:10:58 +02:00
|
|
|
#endif
|