summaryrefslogtreecommitdiffstats
path: root/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/definitions.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2020-07-02 23:09:26 +0200
committermanuel <manuel@mausz.at>2020-07-02 23:09:26 +0200
commit5f8335c1e49ce108ef3481863833c98efa00411b (patch)
treef02b5c1c9765bb6a14c8eb42bb4f81b9face0b55 /xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/definitions.h
parente317daf081a1048904fdf0b548946fa3ba6593a7 (diff)
downloadkodi-pvr-build-5f8335c1e49ce108ef3481863833c98efa00411b.tar.gz
kodi-pvr-build-5f8335c1e49ce108ef3481863833c98efa00411b.tar.bz2
kodi-pvr-build-5f8335c1e49ce108ef3481863833c98efa00411b.zip
sync with upstreamHEADmaster
Diffstat (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/definitions.h')
-rw-r--r--xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/definitions.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/definitions.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/definitions.h
index b8b4cbf..4eb64c7 100644
--- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/definitions.h
+++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/definitions.h
@@ -200,6 +200,8 @@ typedef struct AddonToKodiFuncTable_kodi_gui_dialogFileBrowser
200 void (*clear_file_list)(void* kodiBase, char*** file_list, unsigned int entries); 200 void (*clear_file_list)(void* kodiBase, char*** file_list, unsigned int entries);
201} AddonToKodiFuncTable_kodi_gui_dialogFileBrowser; 201} AddonToKodiFuncTable_kodi_gui_dialogFileBrowser;
202 202
203// typedef void (*char_callback_t) (CGUIKeyboard *ref, const std::string &typedString);
204
203typedef struct AddonToKodiFuncTable_kodi_gui_dialogKeyboard 205typedef struct AddonToKodiFuncTable_kodi_gui_dialogKeyboard
204{ 206{
205 bool (*show_and_get_input_with_head)(void* kodiBase, const char* text_in, char** text_out, const char* heading, bool allow_empty_result, bool hiddenInput, unsigned int auto_close_ms); 207 bool (*show_and_get_input_with_head)(void* kodiBase, const char* text_in, char** text_out, const char* heading, bool allow_empty_result, bool hiddenInput, unsigned int auto_close_ms);
@@ -276,8 +278,6 @@ typedef struct AddonToKodiFuncTable_kodi_gui_listItem
276 void (*set_label)(void* kodiBase, void* handle, const char* label); 278 void (*set_label)(void* kodiBase, void* handle, const char* label);
277 char* (*get_label2)(void* kodiBase, void* handle); 279 char* (*get_label2)(void* kodiBase, void* handle);
278 void (*set_label2)(void* kodiBase, void* handle, const char* label); 280 void (*set_label2)(void* kodiBase, void* handle, const char* label);
279 char* (*get_icon_image)(void* kodiBase, void* handle);
280 void (*set_icon_image)(void* kodiBase, void* handle, const char* image);
281 char* (*get_art)(void* kodiBase, void* handle, const char* type); 281 char* (*get_art)(void* kodiBase, void* handle, const char* type);
282 void (*set_art)(void* kodiBase, void* handle, const char* type, const char* image); 282 void (*set_art)(void* kodiBase, void* handle, const char* type, const char* image);
283 char* (*get_path)(void* kodiBase, void* handle); 283 char* (*get_path)(void* kodiBase, void* handle);
@@ -302,12 +302,12 @@ typedef struct AddonToKodiFuncTable_kodi_gui_window
302 void* (*create)(void* kodiBase, const char* xml_filename, const char* default_skin, bool as_dialog, bool is_media); 302 void* (*create)(void* kodiBase, const char* xml_filename, const char* default_skin, bool as_dialog, bool is_media);
303 void (*destroy)(void* kodiBase, void* handle); 303 void (*destroy)(void* kodiBase, void* handle);
304 void (*set_callbacks)(void* kodiBase, void* handle, void* clienthandle, 304 void (*set_callbacks)(void* kodiBase, void* handle, void* clienthandle,
305 bool (*)(void* handle), 305 bool (*CBInit)(void*),
306 bool (*)(void* handle, int), 306 bool (*CBFocus)(void*, int),
307 bool (*)(void* handle, int), 307 bool (*CBClick)(void*, int),
308 bool (*)(void* handle, int), 308 bool (*CBOnAction)(void*, int, uint32_t, wchar_t),
309 void (*)(void* handle, int, gui_context_menu_pair*, unsigned int*), 309 void (*CBGetContextButtons)(void*, int, gui_context_menu_pair*, unsigned int*),
310 bool (*)(void* handle, int, unsigned int)); 310 bool (*CBOnContextButton)(void*, int, unsigned int));
311 bool (*show)(void* kodiBase, void* handle); 311 bool (*show)(void* kodiBase, void* handle);
312 bool (*close)(void* kodiBase, void* handle); 312 bool (*close)(void* kodiBase, void* handle);
313 bool (*do_modal)(void* kodiBase, void* handle); 313 bool (*do_modal)(void* kodiBase, void* handle);
@@ -316,6 +316,8 @@ typedef struct AddonToKodiFuncTable_kodi_gui_window
316 bool (*set_focus_id)(void* kodiBase, void* handle, int control_id); 316 bool (*set_focus_id)(void* kodiBase, void* handle, int control_id);
317 int (*get_focus_id)(void* kodiBase, void* handle); 317 int (*get_focus_id)(void* kodiBase, void* handle);
318 void (*set_control_label)(void* kodiBase, void* handle, int control_id, const char* label); 318 void (*set_control_label)(void* kodiBase, void* handle, int control_id, const char* label);
319 void (*set_control_visible)(void* kodiBase, void* handle, int control_id, bool visible);
320 void (*set_control_selected)(void* kodiBase, void* handle, int control_id, bool selected);
319 321
320 /* Window property functions */ 322 /* Window property functions */
321 void (*set_property)(void* kodiBase, void* handle, const char* key, const char* value); 323 void (*set_property)(void* kodiBase, void* handle, const char* key, const char* value);