Kodi Development
22.0
for Binary and Script based Add-Ons
Loading...
Searching...
No Matches
progress.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_PROGRESS_H
10
#define C_API_GUI_CONTROLS_PROGRESS_H
11
12
#include "../definitions.h"
13
14
#ifdef __cplusplus
15
extern
"C"
16
{
17
#endif
/* __cplusplus */
18
19
typedef
struct
AddonToKodiFuncTable_kodi_gui_control_progress
20
{
21
void (*set_visible)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle,
bool
visible);
22
void (*set_percentage)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle,
float
percent);
23
float (*get_percentage)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle);
24
}
AddonToKodiFuncTable_kodi_gui_control_progress
;
25
26
#ifdef __cplusplus
27
}
/* extern "C" */
28
#endif
/* __cplusplus */
29
30
#endif
/* !C_API_GUI_CONTROLS_PROGRESS_H */
AddonToKodiFuncTable_kodi_gui_control_progress
Definition
progress.h:20
include
kodi
c-api
gui
controls
progress.h
Generated by
1.12.0