Kodi Development
19.0
for Binary and Script based Add-Ons
Keyboard.h
1
/*
2
* Copyright (C) 2005-2018 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
#include "AddonClass.h"
12
#include "AddonString.h"
13
#include "Exception.h"
14
15
class
CGUIDialogKeyboardGeneric;
16
17
namespace
XBMCAddon
18
{
19
namespace
xbmc
20
{
21
XBMCCOMMONS_STANDARD_EXCEPTION(KeyboardException);
22
54
class
Keyboard
:
public
AddonClass
55
{
56
public
:
57
#ifndef SWIG
58
String strDefault;
59
String strHeading;
60
bool
bHidden;
61
String strText;
62
bool
bConfirmed =
false
;
63
#endif
64
65
Keyboard
(
const
String& line = emptyString,
const
String& heading = emptyString,
bool
hidden =
false
);
66
~
Keyboard
()
override
;
67
68
#ifdef DOXYGEN_SHOULD_USE_THIS
69
doModal
(...);
88
#else
89
void
doModal
(
int
autoclose = 0);
90
#endif
91
92
#ifdef DOXYGEN_SHOULD_USE_THIS
93
// setDefault() Method
111
setDefault
(...);
112
#else
113
void
setDefault
(
const
String& line = emptyString);
114
#endif
115
116
#ifdef DOXYGEN_SHOULD_USE_THIS
117
setHiddenInput
(...);
135
#else
136
void
setHiddenInput
(
bool
hidden =
false
);
137
#endif
138
139
// setHeading() Method
140
#ifdef DOXYGEN_SHOULD_USE_THIS
141
setHeading
(...);
159
#else
160
void
setHeading
(
const
String& heading);
161
#endif
162
163
// getText() Method
164
#ifdef DOXYGEN_SHOULD_USE_THIS
165
getText
();
186
#else
187
String
getText
();
188
#endif
189
190
// isConfirmed() Method
191
#ifdef DOXYGEN_SHOULD_USE_THIS
192
isConfirmed
();
209
#else
210
bool
isConfirmed
();
211
#endif
212
};
214
}
215
}
XBMCAddon::xbmc::Keyboard::doModal
doModal(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
XBMCAddon::xbmc::Keyboard::setHiddenInput
setHiddenInput(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
XBMCAddon::xbmc::Keyboard::setDefault
setDefault(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
XBMCAddon::xbmc::Keyboard::setHeading
setHeading(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
XBMCAddon::xbmc::Keyboard::getText
getText()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
XBMCAddon::xbmc::Keyboard
Definition:
Keyboard.h:55
XBMCAddon::xbmc::Keyboard::isConfirmed
isConfirmed()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
interfaces
legacy
Keyboard.h
Generated by
1.8.18