Kodi Development  20.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 #ifndef C_API_GUI_CONTROLS_RENDERING_H
10 #define C_API_GUI_CONTROLS_RENDERING_H
11 
12 #include "../definitions.h"
13 
14 #ifdef __cplusplus
15 extern "C"
16 {
17 #endif /* __cplusplus */
18 
20  {
21  void (*set_callbacks)(
22  KODI_HANDLE kodiBase,
23  KODI_GUI_CONTROL_HANDLE handle,
24  KODI_GUI_CLIENT_HANDLE clienthandle,
25  bool (*createCB)(KODI_GUI_CLIENT_HANDLE, int, int, int, int, ADDON_HARDWARE_CONTEXT),
26  void (*renderCB)(KODI_GUI_CLIENT_HANDLE),
27  void (*stopCB)(KODI_GUI_CLIENT_HANDLE),
28  bool (*dirtyCB)(KODI_GUI_CLIENT_HANDLE));
29  void (*destroy)(void* kodiBase, KODI_GUI_CONTROL_HANDLE handle);
31 
32 #ifdef __cplusplus
33 } /* extern "C" */
34 #endif /* __cplusplus */
35 
36 #endif /* !C_API_GUI_CONTROLS_RENDERING_H */