kodi
|
Public Member Functions | |
void | GetChannelNumbers (std::vector< std::string > &channelNumbers) override |
Get the currently available channel numbers. More... | |
void | AppendChannelNumberCharacter (char cCharacter) override |
Appends a channel number character. More... | |
void | OnInputDone () override |
This method gets called after the channel number input timer has expired. | |
![]() | |
CPVRChannelNumberInputHandler (int iDelay, int iMaxDigits=CHANNEL_NUMBER_INPUT_MAX_DIGITS) | |
ctor. More... | |
CEventStream< PVRChannelNumberInputChangedEvent > & | Events () |
Get the events available for CEventStream. More... | |
void | OnTimeout () override |
bool | HasChannelNumber () const |
Check whether a channel number was entered. More... | |
std::string | GetChannelNumberLabel () const |
Get the currently entered channel number as a formatted string. More... | |
bool | CheckInputAndExecuteAction () |
If a number was entered, execute the associated action. More... | |
Additional Inherited Members | |
![]() | |
static const int | CHANNEL_NUMBER_INPUT_MAX_DIGITS = 5 |
![]() | |
CPVRChannelNumber | GetChannelNumber () const |
Get the currently entered channel number. More... | |
size_t | GetCurrentDigitCount () const |
Get the currently entered number of digits. More... | |
![]() | |
CCriticalSection | m_mutex |
|
overridevirtual |
Appends a channel number character.
cCharacter | The character to append. value must be CPVRChannelNumber::SEPARATOR ('.') or any char in the range from '0' to '9'. |
Reimplemented from PVR::CPVRChannelNumberInputHandler.
|
overridevirtual |
Get the currently available channel numbers.
channelNumbers | The list to fill with the channel numbers. |
Implements PVR::CPVRChannelNumberInputHandler.