#include <PVRChannelNumberInputHandler.h>
◆ CPVRChannelNumberInputHandler() [1/2]
CPVRChannelNumberInputHandler::CPVRChannelNumberInputHandler |
( |
| ) |
|
◆ CPVRChannelNumberInputHandler() [2/2]
ctor.
- Parameters
-
iDelay | timer delay in millisecods. |
iMaxDigits | maximum number of display digits to use. |
◆ ~CPVRChannelNumberInputHandler()
PVR::CPVRChannelNumberInputHandler::~CPVRChannelNumberInputHandler |
( |
| ) |
|
|
overridedefault |
◆ 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.
◆ OnInputDone()
virtual void PVR::CPVRChannelNumberInputHandler::OnInputDone |
( |
| ) |
|
|
pure virtual |
◆ OnTimeout()
void CPVRChannelNumberInputHandler::OnTimeout |
( |
| ) |
|
|
overridevirtual |
◆ CHANNEL_NUMBER_INPUT_MAX_DIGITS
const int PVR::CPVRChannelNumberInputHandler::CHANNEL_NUMBER_INPUT_MAX_DIGITS = 5 |
|
static |
◆ m_mutex
CCriticalSection PVR::CPVRChannelNumberInputHandler::m_mutex |
|
mutableprotected |
The documentation for this class was generated from the following files: