diff options
| author | manuel <manuel@mausz.at> | 2020-10-19 00:52:24 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2020-10-19 00:52:24 +0200 |
| commit | be933ef2241d79558f91796cc5b3a161f72ebf9c (patch) | |
| tree | fe3ab2f130e20c99001f2d7a81d610c78c96a3f4 /xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/extended_progress.h | |
| parent | 5f8335c1e49ce108ef3481863833c98efa00411b (diff) | |
| download | kodi-pvr-build-be933ef2241d79558f91796cc5b3a161f72ebf9c.tar.gz kodi-pvr-build-be933ef2241d79558f91796cc5b3a161f72ebf9c.tar.bz2 kodi-pvr-build-be933ef2241d79558f91796cc5b3a161f72ebf9c.zip | |
sync with upstream
Diffstat (limited to 'xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/extended_progress.h')
| -rw-r--r-- | xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/extended_progress.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/extended_progress.h b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/extended_progress.h new file mode 100644 index 0000000..e53588f --- /dev/null +++ b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/extended_progress.h | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2005-2020 Team Kodi | ||
| 3 | * This file is part of Kodi - https://kodi.tv | ||
| 4 | * | ||
| 5 | * SPDX-License-Identifier: GPL-2.0-or-later | ||
| 6 | * See LICENSES/README.md for more information. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #pragma once | ||
| 10 | |||
| 11 | #ifndef C_API_GUI_DIALOGS_EXTENDED_PROGRESS_H | ||
| 12 | #define C_API_GUI_DIALOGS_EXTENDED_PROGRESS_H | ||
| 13 | |||
| 14 | #include "../definitions.h" | ||
| 15 | |||
| 16 | #ifdef __cplusplus | ||
| 17 | extern "C" | ||
| 18 | { | ||
| 19 | #endif /* __cplusplus */ | ||
| 20 | |||
| 21 | typedef struct AddonToKodiFuncTable_kodi_gui_dialogExtendedProgress | ||
| 22 | { | ||
| 23 | KODI_GUI_HANDLE (*new_dialog)(KODI_HANDLE kodiBase, const char* title); | ||
| 24 | void (*delete_dialog)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle); | ||
| 25 | char* (*get_title)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle); | ||
| 26 | void (*set_title)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, const char* title); | ||
| 27 | char* (*get_text)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle); | ||
| 28 | void (*set_text)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, const char* text); | ||
| 29 | bool (*is_finished)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle); | ||
| 30 | void (*mark_finished)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle); | ||
| 31 | float (*get_percentage)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle); | ||
| 32 | void (*set_percentage)(KODI_HANDLE kodiBase, KODI_GUI_HANDLE handle, float percentage); | ||
| 33 | void (*set_progress)(KODI_HANDLE kodiBase, | ||
| 34 | KODI_GUI_HANDLE handle, | ||
| 35 | int currentItem, | ||
| 36 | int itemCount); | ||
| 37 | } AddonToKodiFuncTable_kodi_gui_dialogExtendedProgress; | ||
| 38 | |||
| 39 | #ifdef __cplusplus | ||
| 40 | } /* extern "C" */ | ||
| 41 | #endif /* __cplusplus */ | ||
| 42 | |||
| 43 | #endif /* !C_API_GUI_DIALOGS_EXTENDED_PROGRESS_H */ | ||
