aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAlwin Esch <alwin.esch@web.de>2020-09-10 01:10:14 +0200
committerAlwin Esch <alwin.esch@web.de>2020-09-12 09:25:17 +0200
commit50d0b078cc9e3d74feda66ef8c4b45ce61456202 (patch)
tree55fb00c295ee0ab6d5e1b735de97cac84906ca89 /cmake
parent724892322f2a77dce614dd0332b06ae41406ef36 (diff)
[addons][gui] make kodi<->addon interface header "C" conform
On the one hand, this moves the "C" API header of the GUI to the new "kodi/c-api/gui" folder. Furthermore it has been revised to have "C" compatible and every `void*` part now has a matching `typedef` to make it easier to identify the associated position. As the only typedef with the "KODI_GUI_CLIENT_HANDLE" also a `using ClientHandle = KODI_GUI_CLIENT_HANDLE;` added to have it in the corresponding addon function. Als einzigtes typedef with zum "KODI_GUI_CLIENT_HANDLE" auch ein `using ClientHandle = KODI_GUI_CLIENT_HANDLE;` In the following commits, the C ++ headers are also revised in order not to be in conflict if included in "C". The associated documentation will also be revised in the following commits.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/treedata/common/subdirs.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/treedata/common/subdirs.txt b/cmake/treedata/common/subdirs.txt
index e6a8a6178c..b5d667a92e 100644
--- a/cmake/treedata/common/subdirs.txt
+++ b/cmake/treedata/common/subdirs.txt
@@ -14,6 +14,7 @@ xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/pvr addons_kodi-dev-kit_inc
xbmc/addons/kodi-dev-kit/include/kodi/c-api addons_kodi-dev-kit_include_kodi_c-api
xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance addons_kodi-dev-kit_include_kodi_c-api_addon-instance
xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr addons_kodi-dev-kit_include_kodi_c-api_addon-instance_pvr
+xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui addons_kodi-dev-kit_include_kodi_c-api_gui
xbmc/addons/kodi-dev-kit/include/kodi/gui addons_kodi-dev-kit_include_kodi_gui
xbmc/addons/kodi-dev-kit/include/kodi/gui/controls addons_kodi-dev-kit_include_kodi_gui_controls
xbmc/addons/kodi-dev-kit/include/kodi/gui/dialogs addons_kodi-dev-kit_include_kodi_gui_dialogs