gwenhywfar 4.0.3
|
#include "progressdata_p.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
Go to the source code of this file.
#define DISABLE_DEBUGLOG |
Definition at line 15 of file progressdata.c.
void GWEN_ProgressData_AddFlags | ( | GWEN_PROGRESS_DATA * | pd, |
uint32_t | fl | ||
) |
Definition at line 106 of file progressdata.c.
Referenced by GWEN_Gui_Internal_ProgressLog().
void GWEN_ProgressData_AddLogText | ( | GWEN_PROGRESS_DATA * | pd, |
GWEN_LOGGER_LEVEL | level, | ||
const char * | s | ||
) |
Definition at line 176 of file progressdata.c.
References GWEN_Buffer_AppendString().
Referenced by GWEN_Gui_Internal_ProgressLog().
void GWEN_ProgressData_ClearLogText | ( | GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 169 of file progressdata.c.
References GWEN_Buffer_Reset().
void GWEN_ProgressData_free | ( | GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 59 of file progressdata.c.
References GWEN_Buffer_free(), GWEN_FREE_OBJECT, and GWEN_TREE_FINI.
Referenced by GWEN_Gui_Internal_ProgressEnd().
int GWEN_ProgressData_GetAborted | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 185 of file progressdata.c.
Referenced by GWEN_Gui_Internal_ProgressAdvance(), and GWEN_Gui_Internal_ProgressLog().
time_t GWEN_ProgressData_GetCheckTime | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 227 of file progressdata.c.
Referenced by GWEN_Gui_Internal_ProgressAdvance().
uint64_t GWEN_ProgressData_GetCurrent | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 141 of file progressdata.c.
Referenced by GWEN_DlgProgress_Advanced(), GWEN_DlgProgress_Init(), GWEN_DlgProgress_SetFirstProgress(), GWEN_DlgProgress_SetSecondProgress(), and GWEN_Gui_Internal_ProgressAdvance().
GWEN_DIALOG* GWEN_ProgressData_GetDialog | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 241 of file progressdata.c.
Referenced by GWEN_Gui_Internal_CheckShow(), GWEN_Gui_Internal_ProgressAdvance(), GWEN_Gui_Internal_ProgressEnd(), GWEN_Gui_Internal_ProgressLog(), and GWEN_Gui_ShowProgress().
uint32_t GWEN_ProgressData_GetFlags | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 99 of file progressdata.c.
Referenced by GWEN_Gui_Internal_CheckShow(), and GWEN_Gui_ShowProgress().
GWEN_GUI* GWEN_ProgressData_GetGui | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 71 of file progressdata.c.
uint32_t GWEN_ProgressData_GetId | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 78 of file progressdata.c.
Referenced by GWEN_DlgProgress_Advanced(), GWEN_Gui_Internal_CheckShow(), GWEN_Gui_Internal_ProgressEnd(), GWEN_Gui_ShowProgress(), and GWEN_ProgressData_Tree_FindProgressById().
GWEN_BUFFER* GWEN_ProgressData_GetLogBuf | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 155 of file progressdata.c.
const char* GWEN_ProgressData_GetLogText | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 162 of file progressdata.c.
References GWEN_Buffer_GetStart().
uint32_t GWEN_ProgressData_GetPreviousId | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 85 of file progressdata.c.
Referenced by GWEN_Gui_Internal_ProgressEnd().
int GWEN_ProgressData_GetShown | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 199 of file progressdata.c.
Referenced by GWEN_Gui_Internal_CheckShow(), GWEN_Gui_Internal_ProgressEnd(), and GWEN_Gui_ShowProgress().
time_t GWEN_ProgressData_GetStartTime | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 213 of file progressdata.c.
Referenced by GWEN_Gui_Internal_CheckShow().
const char* GWEN_ProgressData_GetText | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 127 of file progressdata.c.
Referenced by GWEN_DlgProgress_Init(), and GWEN_DlgProgress_SetFirstProgress().
const char* GWEN_ProgressData_GetTitle | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 120 of file progressdata.c.
Referenced by GWEN_DlgProgress_Init(), and GWEN_DlgProgress_SetFirstProgress().
uint64_t GWEN_ProgressData_GetTotal | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 134 of file progressdata.c.
Referenced by GWEN_DlgProgress_Init(), GWEN_DlgProgress_SetFirstProgress(), and GWEN_DlgProgress_SetSecondProgress().
GWEN_PROGRESS_DATA* GWEN_ProgressData_new | ( | GWEN_GUI * | gui, |
uint32_t | id, | ||
uint32_t | progressFlags, | ||
const char * | title, | ||
const char * | text, | ||
uint64_t | total | ||
) |
Definition at line 31 of file progressdata.c.
References GWEN_Buffer_new(), GWEN_NEW_OBJECT, and GWEN_TREE_INIT.
Referenced by GWEN_Gui_Internal_ProgressStart().
void GWEN_ProgressData_SetAborted | ( | GWEN_PROGRESS_DATA * | pd, |
int | i | ||
) |
Definition at line 192 of file progressdata.c.
Referenced by GWEN_DlgProgress_HandleActivated().
void GWEN_ProgressData_SetCheckTime | ( | GWEN_PROGRESS_DATA * | pd, |
time_t | t | ||
) |
Definition at line 234 of file progressdata.c.
Referenced by GWEN_Gui_Internal_ProgressAdvance().
void GWEN_ProgressData_SetCurrent | ( | GWEN_PROGRESS_DATA * | pd, |
uint64_t | i | ||
) |
Definition at line 148 of file progressdata.c.
Referenced by GWEN_Gui_Internal_ProgressAdvance().
void GWEN_ProgressData_SetDialog | ( | GWEN_PROGRESS_DATA * | pd, |
GWEN_DIALOG * | dlg | ||
) |
Definition at line 248 of file progressdata.c.
Referenced by GWEN_Gui_Internal_ProgressEnd(), and GWEN_Gui_ShowProgress().
void GWEN_ProgressData_SetPreviousId | ( | GWEN_PROGRESS_DATA * | pd, |
uint32_t | i | ||
) |
Definition at line 92 of file progressdata.c.
Referenced by GWEN_Gui_Internal_ProgressStart().
void GWEN_ProgressData_SetShown | ( | GWEN_PROGRESS_DATA * | pd, |
int | i | ||
) |
Definition at line 206 of file progressdata.c.
Referenced by GWEN_Gui_Internal_CheckShow(), GWEN_Gui_Internal_ProgressLog(), and GWEN_Gui_ShowProgress().
void GWEN_ProgressData_SetStartTime | ( | GWEN_PROGRESS_DATA * | pd, |
time_t | t | ||
) |
Definition at line 220 of file progressdata.c.
void GWEN_ProgressData_SubFlags | ( | GWEN_PROGRESS_DATA * | pd, |
uint32_t | fl | ||
) |
Definition at line 113 of file progressdata.c.
GWEN_PROGRESS_DATA* GWEN_ProgressData_Tree_FindProgressById | ( | GWEN_PROGRESS_DATA_TREE * | pt, |
uint32_t | id | ||
) |
Definition at line 255 of file progressdata.c.
References GWEN_ProgressData_GetId().
Referenced by GWEN_Gui_Internal_ProgressAdvance(), GWEN_Gui_Internal_ProgressEnd(), GWEN_Gui_Internal_ProgressLog(), and GWEN_Gui_Internal_ProgressStart().