Kodi Development  19.0
for Binary and Script based Add-Ons
keyboard.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_DIALOGS_KEYBOARD_H
12 #define C_API_GUI_DIALOGS_KEYBOARD_H
13 
14 #include "../definitions.h"
15 
16 #ifdef __cplusplus
17 extern "C"
18 {
19 #endif /* __cplusplus */
20 
22  {
23  bool (*show_and_get_input_with_head)(KODI_HANDLE kodiBase,
24  const char* text_in,
25  char** text_out,
26  const char* heading,
27  bool allow_empty_result,
28  bool hiddenInput,
29  unsigned int auto_close_ms);
30  bool (*show_and_get_input)(KODI_HANDLE kodiBase,
31  const char* text_in,
32  char** text_out,
33  bool allow_empty_result,
34  unsigned int auto_close_ms);
35  bool (*show_and_get_new_password_with_head)(KODI_HANDLE kodiBase,
36  const char* password_in,
37  char** password_out,
38  const char* heading,
39  bool allow_empty_result,
40  unsigned int auto_close_ms);
41  bool (*show_and_get_new_password)(KODI_HANDLE kodiBase,
42  const char* password_in,
43  char** password_out,
44  unsigned int auto_close_ms);
45  bool (*show_and_verify_new_password_with_head)(KODI_HANDLE kodiBase,
46  char** password_out,
47  const char* heading,
48  bool allow_empty_result,
49  unsigned int auto_close_ms);
50  bool (*show_and_verify_new_password)(KODI_HANDLE kodiBase,
51  char** password_out,
52  unsigned int auto_close_ms);
53  int (*show_and_verify_password)(KODI_HANDLE kodiBase,
54  const char* password_in,
55  char** password_out,
56  const char* heading,
57  int retries,
58  unsigned int auto_close_ms);
59  bool (*show_and_get_filter)(KODI_HANDLE kodiBase,
60  const char* text_in,
61  char** text_out,
62  bool searching,
63  unsigned int auto_close_ms);
64  bool (*send_text_to_active_keyboard)(KODI_HANDLE kodiBase,
65  const char* text,
66  bool close_keyboard);
67  bool (*is_keyboard_activated)(KODI_HANDLE kodiBase);
69 
70 #ifdef __cplusplus
71 } /* extern "C" */
72 #endif /* __cplusplus */
73 
74 #endif /* !C_API_GUI_DIALOGS_KEYBOARD_H */
AddonToKodiFuncTable_kodi_gui_dialogKeyboard
Definition: keyboard.h:22