|
gwenhywfar 5.10.1
|
#include "progressdata_p.h"#include <gwenhywfar/misc.h>#include <gwenhywfar/debug.h>
Go to the source code of this file.
Macros | |
| #define | DISABLE_DEBUGLOG |
| #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 113 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_ProgressLog().

| void GWEN_ProgressData_AddLogText | ( | GWEN_PROGRESS_DATA * | pd, |
| GWEN_UNUSED GWEN_LOGGER_LEVEL | level, | ||
| const char * | s | ||
| ) |
Definition at line 201 of file progressdata.c.
References GWEN_Buffer_AppendString().
Referenced by GWEN_Gui_DialogBased_ProgressLog().


| void GWEN_ProgressData_ClearLogText | ( | GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 193 of file progressdata.c.
References GWEN_Buffer_Reset().

| void GWEN_ProgressData_free | ( | GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 60 of file progressdata.c.
References GWEN_Buffer_free(), GWEN_FREE_OBJECT, and GWEN_TREE_FINI.
Referenced by GWEN_Gui_DialogBased_ProgressEnd().


| int GWEN_ProgressData_GetAborted | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 211 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_ProgressAdvance(), GWEN_Gui_DialogBased_ProgressLog(), and GWEN_Gui_DialogBased_ProgressSetTotal().

| time_t GWEN_ProgressData_GetCheckTime | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 259 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_ProgressAdvance(), and GWEN_Gui_DialogBased_ProgressSetTotal().

| uint64_t GWEN_ProgressData_GetCurrent | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 153 of file progressdata.c.
Referenced by GWEN_DlgProgress_Advanced(), GWEN_DlgProgress_Init(), GWEN_DlgProgress_SetFirstProgress(), GWEN_DlgProgress_SetSecondProgress(), and GWEN_Gui_DialogBased_ProgressAdvance().

| GWEN_DIALOG * GWEN_ProgressData_GetDialog | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 275 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_CheckShow(), GWEN_Gui_DialogBased_ProgressAdvance(), GWEN_Gui_DialogBased_ProgressEnd(), GWEN_Gui_DialogBased_ProgressLog(), GWEN_Gui_DialogBased_ProgressSetTotal(), and GWEN_Gui_ShowProgress().

| uint32_t GWEN_ProgressData_GetFlags | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 105 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_CheckShow(), and GWEN_Gui_ShowProgress().

| GWEN_GUI * GWEN_ProgressData_GetGui | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 73 of file progressdata.c.
| uint32_t GWEN_ProgressData_GetId | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 81 of file progressdata.c.
Referenced by GWEN_DlgProgress_Advanced(), GWEN_DlgProgress_TotalChanged(), GWEN_Gui_DialogBased_CheckShow(), GWEN_Gui_DialogBased_ProgressEnd(), GWEN_Gui_ShowProgress(), and GWEN_ProgressData_Tree_FindProgressById().

| GWEN_BUFFER * GWEN_ProgressData_GetLogBuf | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 177 of file progressdata.c.
| const char * GWEN_ProgressData_GetLogText | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 185 of file progressdata.c.
References GWEN_Buffer_GetStart().

| uint32_t GWEN_ProgressData_GetPreviousId | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 89 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_ProgressEnd().

| int GWEN_ProgressData_GetShown | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 227 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_CheckShow(), GWEN_Gui_DialogBased_ProgressEnd(), and GWEN_Gui_ShowProgress().

| time_t GWEN_ProgressData_GetStartTime | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 243 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_CheckShow().

| const char * GWEN_ProgressData_GetText | ( | const GWEN_PROGRESS_DATA * | pd | ) |
Definition at line 137 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 129 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 145 of file progressdata.c.
Referenced by GWEN_DlgProgress_Init(), GWEN_DlgProgress_SetFirstProgress(), GWEN_DlgProgress_SetSecondProgress(), and GWEN_DlgProgress_TotalChanged().

| 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_DialogBased_ProgressStart().


| void GWEN_ProgressData_SetAborted | ( | GWEN_PROGRESS_DATA * | pd, |
| int | i | ||
| ) |
Definition at line 219 of file progressdata.c.
Referenced by GWEN_DlgProgress_HandleActivated().

| void GWEN_ProgressData_SetCheckTime | ( | GWEN_PROGRESS_DATA * | pd, |
| time_t | t | ||
| ) |
Definition at line 267 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_ProgressAdvance(), and GWEN_Gui_DialogBased_ProgressSetTotal().

| void GWEN_ProgressData_SetCurrent | ( | GWEN_PROGRESS_DATA * | pd, |
| uint64_t | i | ||
| ) |
Definition at line 161 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_ProgressAdvance().

| void GWEN_ProgressData_SetDialog | ( | GWEN_PROGRESS_DATA * | pd, |
| GWEN_DIALOG * | dlg | ||
| ) |
Definition at line 283 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_ProgressEnd(), and GWEN_Gui_ShowProgress().

| void GWEN_ProgressData_SetPreviousId | ( | GWEN_PROGRESS_DATA * | pd, |
| uint32_t | i | ||
| ) |
Definition at line 97 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_ProgressStart().

| void GWEN_ProgressData_SetShown | ( | GWEN_PROGRESS_DATA * | pd, |
| int | i | ||
| ) |
Definition at line 235 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_CheckShow(), GWEN_Gui_DialogBased_ProgressLog(), and GWEN_Gui_ShowProgress().

| void GWEN_ProgressData_SetStartTime | ( | GWEN_PROGRESS_DATA * | pd, |
| time_t | t | ||
| ) |
Definition at line 251 of file progressdata.c.
| void GWEN_ProgressData_SetTotal | ( | GWEN_PROGRESS_DATA * | pd, |
| uint64_t | i | ||
| ) |
Definition at line 169 of file progressdata.c.
Referenced by GWEN_Gui_DialogBased_ProgressSetTotal().

| void GWEN_ProgressData_SubFlags | ( | GWEN_PROGRESS_DATA * | pd, |
| uint32_t | fl | ||
| ) |
Definition at line 121 of file progressdata.c.
| GWEN_PROGRESS_DATA * GWEN_ProgressData_Tree_FindProgressById | ( | GWEN_PROGRESS_DATA_TREE * | pt, |
| uint32_t | id | ||
| ) |
Definition at line 291 of file progressdata.c.
References GWEN_ProgressData_GetId().
Referenced by GWEN_Gui_DialogBased_ProgressAdvance(), GWEN_Gui_DialogBased_ProgressEnd(), GWEN_Gui_DialogBased_ProgressLog(), GWEN_Gui_DialogBased_ProgressSetTotal(), and GWEN_Gui_DialogBased_ProgressStart().

