11 #ifndef C_API_GUI_DIALOGS_PROGRESS_H 
   12 #define C_API_GUI_DIALOGS_PROGRESS_H 
   14 #include "../definitions.h" 
   23     KODI_GUI_HANDLE (*new_dialog)(KODI_HANDLE kodiBase);
 
   24     void (*delete_dialog)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
 
   25     void (*open)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
 
   26     void (*set_heading)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
const char* heading);
 
   27     void (*set_line)(KODI_HANDLE kodiBase,
 
   28                      KODI_GUI_HANDLE handle,
 
   31     void (*set_can_cancel)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
bool canCancel);
 
   32     bool (*is_canceled)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
 
   33     void (*set_percentage)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
int percentage);
 
   34     int (*get_percentage)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
 
   35     void (*show_progress_bar)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
bool pnOff);
 
   36     void (*set_progress_max)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
int max);
 
   37     void (*set_progress_advance)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, 
int nSteps);
 
   38     bool (*abort)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);