9 #ifndef C_API_GUI_DIALOGS_PROGRESS_H    10 #define C_API_GUI_DIALOGS_PROGRESS_H    12 #include "../definitions.h"    21     KODI_GUI_HANDLE (*new_dialog)(KODI_HANDLE kodiBase);
    22     void (*delete_dialog)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
    23     void (*open)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
    24     void (*set_heading)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
const char* heading);
    25     void (*set_line)(KODI_HANDLE kodiBase,
    26                      KODI_GUI_HANDLE handle,
    29     void (*set_can_cancel)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
bool canCancel);
    30     bool (*is_canceled)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
    31     void (*set_percentage)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
int percentage);
    32     int (*get_percentage)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
    33     void (*show_progress_bar)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
bool pnOff);
    34     void (*set_progress_max)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
int max);
    35     void (*set_progress_advance)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
int nSteps);
    36     bool (*abort)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
 Definition: progress.h:19