Kodi Development  19.0
for Binary and Script based Add-Ons
rendering.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_CONTROLS_RENDERING_H
12 #define C_API_GUI_CONTROLS_RENDERING_H
13 
14 #include "../definitions.h"
15 
16 #ifdef __cplusplus
17 extern "C"
18 {
19 #endif /* __cplusplus */
20 
22  {
23  void (*set_callbacks)(
24  KODI_HANDLE kodiBase,
25  KODI_GUI_CONTROL_HANDLE handle,
26  KODI_GUI_CLIENT_HANDLE clienthandle,
27  bool (*createCB)(KODI_GUI_CLIENT_HANDLE, int, int, int, int, ADDON_HARDWARE_CONTEXT),
28  void (*renderCB)(KODI_GUI_CLIENT_HANDLE),
29  void (*stopCB)(KODI_GUI_CLIENT_HANDLE),
30  bool (*dirtyCB)(KODI_GUI_CLIENT_HANDLE));
31  void (*destroy)(void* kodiBase, KODI_GUI_CONTROL_HANDLE handle);
33 
34 #ifdef __cplusplus
35 } /* extern "C" */
36 #endif /* __cplusplus */
37 
38 #endif /* !C_API_GUI_CONTROLS_RENDERING_H */
AddonToKodiFuncTable_kodi_gui_control_rendering
Definition: rendering.h:22