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