Kodi Development  20.0
for Binary and Script based Add-Ons
select.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_SELECT_H
10 #define C_API_GUI_DIALOGS_SELECT_H
11 
12 #include "../definitions.h"
13 
14 #ifdef __cplusplus
15 extern "C"
16 {
17 #endif /* __cplusplus */
18 
20  {
21  int (*open)(KODI_HANDLE kodiBase,
22  const char* heading,
23  const char* entries[],
24  unsigned int size,
25  int selected,
26  unsigned int autoclose);
27  bool (*open_multi_select)(KODI_HANDLE kodiBase,
28  const char* heading,
29  const char* entryIDs[],
30  const char* entryNames[],
31  bool entriesSelected[],
32  unsigned int size,
33  unsigned int autoclose);
35 
36 #ifdef __cplusplus
37 } /* extern "C" */
38 #endif /* __cplusplus */
39 
40 #endif /* !C_API_GUI_DIALOGS_SELECT_H */