Kodi Development  19.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 #pragma once
10 
11 #ifndef C_API_GUI_DIALOGS_SELECT_H
12 #define C_API_GUI_DIALOGS_SELECT_H
13 
14 #include "../definitions.h"
15 
16 #ifdef __cplusplus
17 extern "C"
18 {
19 #endif /* __cplusplus */
20 
22  {
23  int (*open)(KODI_HANDLE kodiBase,
24  const char* heading,
25  const char* entries[],
26  unsigned int size,
27  int selected,
28  unsigned int autoclose);
29  bool (*open_multi_select)(KODI_HANDLE kodiBase,
30  const char* heading,
31  const char* entryIDs[],
32  const char* entryNames[],
33  bool entriesSelected[],
34  unsigned int size,
35  unsigned int autoclose);
37 
38 #ifdef __cplusplus
39 } /* extern "C" */
40 #endif /* __cplusplus */
41 
42 #endif /* !C_API_GUI_DIALOGS_SELECT_H */
AddonToKodiFuncTable_kodi_gui_dialogSelect
Definition: select.h:22