 |
Kodi Development
19.0
for Binary and Script based Add-Ons
|
|
11 #ifndef C_API_GENERAL_H
12 #define C_API_GENERAL_H
91 char* (*get_addon_info)(
void* kodiBase,
const char* id);
92 bool (*open_settings_dialog)(
void* kodiBase);
93 char* (*unknown_to_utf8)(
void* kodiBase,
const char* source,
bool* ret,
bool failOnBadChar);
94 char* (*get_localized_string)(
void* kodiBase,
long label_id);
95 char* (*get_language)(
void* kodiBase,
int format,
bool region);
96 bool (*queue_notification)(
void* kodiBase,
100 const char* imageFile,
101 unsigned int displayTime,
103 unsigned int messageTime);
104 void (*get_md5)(
void* kodiBase,
const char* text,
char* md5);
105 char* (*get_temp_path)(
void* kodiBase);
106 char* (*get_region)(
void* kodiBase,
const char* id);
107 void (*get_free_mem)(
void* kodiBase,
long* free,
long* total,
bool as_bytes);
108 int (*get_global_idle_time)(
void* kodiBase);
109 bool (*is_addon_avilable)(
void* kodiBase,
const char* id,
char** version,
bool* enabled);
110 void (*kodi_version)(
void* kodiBase,
117 char* (*get_current_skin_id)(
void* kodiBase);
118 bool (*get_keyboard_layout)(
void* kodiBase,
122 bool (*change_keyboard_layout)(
void* kodiBase,
char** layout_name);
@ STD_KB_BUTTONS_MAX_ROWS
The quantity of rows on Kodi's standard keyboard.
Definition: general.h:30
@ QUEUE_OWN_STYLE
Show with own given image and parts if set on values.
Definition: general.h:53
@ LANG_FMT_ISO_639_1
two letter code as defined in ISO 639-1
Definition: general.h:66
@ STD_KB_BUTTONS_PER_ROW
The quantity of buttons per row on Kodi's standard keyboard.
Definition: general.h:28
@ LANG_FMT_ISO_639_2
three letter code as defined in ISO 639-2/T or ISO 639-2/B
Definition: general.h:68
@ QUEUE_ERROR
Show error notification message.
Definition: general.h:51
@ STD_KB_MODIFIER_KEY_SYMBOL
Keyboard layout type, this to show symbols.
Definition: general.h:36
@ QUEUE_WARNING
Show warning notification message.
Definition: general.h:49
@ QUEUE_INFO
Show info notification message.
Definition: general.h:47
@ STD_KB_MODIFIER_KEY_SHIFT
Keyboard layout type, this for shift controled layout (uppercase)
Definition: general.h:34
StdKbButtons
For kodi::CurrentKeyboardLayout used defines.
Definition: general.h:26
@ LANG_FMT_ENGLISH_NAME
full language name in English
Definition: general.h:70
@ STD_KB_MODIFIER_KEY_NONE
Keyboard layout type, this for initial standard.
Definition: general.h:32
QueueMsg
For kodi::QueueNotification() used message types.
Definition: general.h:45
LangFormats
Format codes to get string from them.
Definition: general.h:64