11 #include "addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/progress.h" 45 static KODI_GUI_HANDLE
new_dialog(KODI_HANDLE kodiBase);
46 static void delete_dialog(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
47 static void open(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
48 static void set_heading(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle,
const char* heading);
49 static void set_line(KODI_HANDLE kodiBase,
50 KODI_GUI_HANDLE handle,
53 static void set_can_cancel(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle,
bool canCancel);
54 static bool is_canceled(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
55 static void set_percentage(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle,
int percentage);
56 static int get_percentage(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
57 static void show_progress_bar(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle,
bool bOnOff);
58 static void set_progress_max(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle,
int max);
59 static void set_progress_advance(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle,
int nSteps);
60 static bool abort(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle);
static KODI_GUI_HANDLE new_dialog(KODI_HANDLE kodiBase)
callback functions from add-on to kodi
Definition: Progress.cpp:48
Main structure passed from kodi to addon with basic information needed to create add-on.
Definition: addon_base.h:378
Global gui Add-on to Kodi callback functions.
Definition: Progress.h:29