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/yes_no.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/yes_no.h')
| -rw-r--r-- | xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/yes_no.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/yes_no.h b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/yes_no.h new file mode 100644 index 0000000..01ed806 --- /dev/null +++ b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/yes_no.h | |||
| @@ -0,0 +1,50 @@ | |||
| 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_YES_NO_H | ||
| 12 | #define C_API_GUI_DIALOGS_YES_NO_H | ||
| 13 | |||
| 14 | #include "../definitions.h" | ||
| 15 | |||
| 16 | #ifdef __cplusplus | ||
| 17 | extern "C" | ||
| 18 | { | ||
| 19 | #endif /* __cplusplus */ | ||
| 20 | |||
| 21 | typedef struct AddonToKodiFuncTable_kodi_gui_dialogYesNo | ||
| 22 | { | ||
| 23 | bool (*show_and_get_input_single_text)(KODI_HANDLE kodiBase, | ||
| 24 | const char* heading, | ||
| 25 | const char* text, | ||
| 26 | bool* canceled, | ||
| 27 | const char* noLabel, | ||
| 28 | const char* yesLabel); | ||
| 29 | bool (*show_and_get_input_line_text)(KODI_HANDLE kodiBase, | ||
| 30 | const char* heading, | ||
| 31 | const char* line0, | ||
| 32 | const char* line1, | ||
| 33 | const char* line2, | ||
| 34 | const char* noLabel, | ||
| 35 | const char* yesLabel); | ||
| 36 | bool (*show_and_get_input_line_button_text)(KODI_HANDLE kodiBase, | ||
| 37 | const char* heading, | ||
| 38 | const char* line0, | ||
| 39 | const char* line1, | ||
| 40 | const char* line2, | ||
| 41 | bool* canceled, | ||
| 42 | const char* noLabel, | ||
| 43 | const char* yesLabel); | ||
| 44 | } AddonToKodiFuncTable_kodi_gui_dialogYesNo; | ||
| 45 | |||
| 46 | #ifdef __cplusplus | ||
| 47 | } /* extern "C" */ | ||
| 48 | #endif /* __cplusplus */ | ||
| 49 | |||
| 50 | #endif /* !C_API_GUI_DIALOGS_YES_NO_H */ | ||
