Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches
yes_no.h
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#ifndef C_API_GUI_DIALOGS_YES_NO_H
10#define C_API_GUI_DIALOGS_YES_NO_H
11
12#include "../definitions.h"
13
14#ifdef __cplusplus
15extern "C"
16{
17#endif /* __cplusplus */
18
20 {
21 bool (*show_and_get_input_single_text)(KODI_HANDLE kodiBase,
22 const char* heading,
23 const char* text,
24 bool* canceled,
25 const char* noLabel,
26 const char* yesLabel);
27 bool (*show_and_get_input_line_text)(KODI_HANDLE kodiBase,
28 const char* heading,
29 const char* line0,
30 const char* line1,
31 const char* line2,
32 const char* noLabel,
33 const char* yesLabel);
34 bool (*show_and_get_input_line_button_text)(KODI_HANDLE kodiBase,
35 const char* heading,
36 const char* line0,
37 const char* line1,
38 const char* line2,
39 bool* canceled,
40 const char* noLabel,
41 const char* yesLabel);
43
44#ifdef __cplusplus
45} /* extern "C" */
46#endif /* __cplusplus */
47
48#endif /* !C_API_GUI_DIALOGS_YES_NO_H */