|
static const int | CHANNEL_NUMBER_INPUT_MAX_DIGITS = 5 |
|
◆ CPVRChannelNumberInputHandler()
CPVRChannelNumberInputHandler::CPVRChannelNumberInputHandler |
( |
int |
iDelay, |
|
|
int |
iMaxDigits = CHANNEL_NUMBER_INPUT_MAX_DIGITS |
|
) |
| |
ctor.
- Parameters
-
iDelay | timer delay in millisecods. |
iMaxDigits | maximum number of display digits to use. |
◆ AppendChannelNumberCharacter()
void CPVRChannelNumberInputHandler::AppendChannelNumberCharacter |
( |
char |
cCharacter | ) |
|
|
virtual |
◆ CheckInputAndExecuteAction()
bool CPVRChannelNumberInputHandler::CheckInputAndExecuteAction |
( |
| ) |
|
If a number was entered, execute the associated action.
- Returns
- True, if the action was executed, false otherwise.
◆ Events()
Get the events available for CEventStream.
- Returns
- The events.
◆ GetChannelNumber()
Get the currently entered channel number.
- Returns
- the channel number.
◆ GetChannelNumberLabel()
std::string CPVRChannelNumberInputHandler::GetChannelNumberLabel |
( |
| ) |
const |
Get the currently entered channel number as a formatted string.
- Returns
- the channel number string.
◆ GetChannelNumbers()
virtual void PVR::CPVRChannelNumberInputHandler::GetChannelNumbers |
( |
std::vector< std::string > & |
channelNumbers | ) |
|
|
pure virtual |
◆ GetCurrentDigitCount()
size_t PVR::CPVRChannelNumberInputHandler::GetCurrentDigitCount |
( |
| ) |
const |
|
inlineprotected |
Get the currently entered number of digits.
- Returns
- the number of digits.
◆ HasChannelNumber()
bool CPVRChannelNumberInputHandler::HasChannelNumber |
( |
| ) |
const |
Check whether a channel number was entered.
- Returns
- True if the handler currently holds a channel number, false otherwise.
The documentation for this class was generated from the following files: