Kodi Development  20.0
for Binary and Script based Add-Ons
definitions.h
1 /*
2  * Copyright (C) 2005-2018 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_DEFINITIONS_H
10 #define C_API_GUI_DEFINITIONS_H
11 
12 #include "../addon_base.h"
13 
14 #ifdef __cplusplus
15 extern "C"
16 {
17 #endif /* __cplusplus */
18 
19  typedef void* KODI_GUI_HANDLE;
20  typedef void* KODI_GUI_CLIENT_HANDLE;
21  typedef void* KODI_GUI_CONTROL_HANDLE;
22  typedef void* KODI_GUI_LISTITEM_HANDLE;
23  typedef void* KODI_GUI_WINDOW_HANDLE;
24 
50 
52  {
54  struct AddonToKodiFuncTable_kodi_gui_control_button* control_button;
55  struct AddonToKodiFuncTable_kodi_gui_control_edit* control_edit;
56  struct AddonToKodiFuncTable_kodi_gui_control_fade_label* control_fade_label;
57  struct AddonToKodiFuncTable_kodi_gui_control_label* control_label;
58  struct AddonToKodiFuncTable_kodi_gui_control_image* control_image;
59  struct AddonToKodiFuncTable_kodi_gui_control_progress* control_progress;
60  struct AddonToKodiFuncTable_kodi_gui_control_radio_button* control_radio_button;
61  struct AddonToKodiFuncTable_kodi_gui_control_rendering* control_rendering;
62  struct AddonToKodiFuncTable_kodi_gui_control_settings_slider* control_settings_slider;
63  struct AddonToKodiFuncTable_kodi_gui_control_slider* control_slider;
64  struct AddonToKodiFuncTable_kodi_gui_control_spin* control_spin;
65  struct AddonToKodiFuncTable_kodi_gui_control_text_box* control_text_box;
66  KODI_HANDLE control_dummy1;
67  KODI_HANDLE control_dummy2;
68  KODI_HANDLE control_dummy3;
69  KODI_HANDLE control_dummy4;
70  KODI_HANDLE control_dummy5;
71  KODI_HANDLE control_dummy6;
72  KODI_HANDLE control_dummy7;
73  KODI_HANDLE control_dummy8;
74  KODI_HANDLE control_dummy9;
75  KODI_HANDLE control_dummy10; /* This and above used to add new controls */
76  struct AddonToKodiFuncTable_kodi_gui_dialogContextMenu* dialogContextMenu;
77  struct AddonToKodiFuncTable_kodi_gui_dialogExtendedProgress* dialogExtendedProgress;
78  struct AddonToKodiFuncTable_kodi_gui_dialogFileBrowser* dialogFileBrowser;
79  struct AddonToKodiFuncTable_kodi_gui_dialogKeyboard* dialogKeyboard;
80  struct AddonToKodiFuncTable_kodi_gui_dialogNumeric* dialogNumeric;
82  struct AddonToKodiFuncTable_kodi_gui_dialogProgress* dialogProgress;
83  struct AddonToKodiFuncTable_kodi_gui_dialogSelect* dialogSelect;
84  struct AddonToKodiFuncTable_kodi_gui_dialogTextViewer* dialogTextViewer;
86  KODI_HANDLE dialog_dummy1;
87  KODI_HANDLE dialog_dummy2;
88  KODI_HANDLE dialog_dummy3;
89  KODI_HANDLE dialog_dummy4;
90  KODI_HANDLE dialog_dummy5;
91  KODI_HANDLE dialog_dummy6;
92  KODI_HANDLE dialog_dummy7;
93  KODI_HANDLE dialog_dummy8;
94  KODI_HANDLE dialog_dummy9;
95  KODI_HANDLE dialog_dummy10; /* This and above used to add new dialogs */
99 
100 #ifdef __cplusplus
101 } /* extern "C" */
102 #endif /* __cplusplus */
103 
104 #endif /* !C_API_GUI_DEFINITIONS_H */
Definition: list_item.h:20
Definition: definitions.h:52