

Public Member Functions | |
| StreamTime (intf_thread_t *pIntf) | |
| virtual | ~StreamTime () |
| virtual void | set (float percentage, bool updateVLC) |
| virtual void | set (float percentage) |
| Set the internal value. | |
| virtual string | getAsStringPercent () const |
| Return a string containing a value from 0 to 100. | |
| virtual string | getAsStringCurrTime (bool bShortFormat=false) const |
| Return the current time formatted as a time display (h:mm:ss). | |
| virtual string | getAsStringTimeLeft (bool bShortFormat=false) const |
| Return the time left formatted as a time display (h:mm:ss). | |
| virtual string | getAsStringDuration (bool bShortFormat=false) const |
| Return the duration formatted as a time display (h:mm:ss). | |
| StreamTime::StreamTime | ( | intf_thread_t * | pIntf | ) | [inline] |
| virtual StreamTime::~StreamTime | ( | ) | [inline, virtual] |
| void StreamTime::set | ( | float | percentage, | |
| bool | updateVLC | |||
| ) | [virtual] |
References SkinObject::getIntf(), p_sys, VarPercent::set(), and var_SetFloat.
| virtual void StreamTime::set | ( | float | percentage | ) | [inline, virtual] |
| string StreamTime::getAsStringPercent | ( | ) | const [virtual] |
| string StreamTime::getAsStringCurrTime | ( | bool | bShortFormat = false |
) | const [virtual] |
Return the current time formatted as a time display (h:mm:ss).
References SkinObject::getIntf(), p_sys, and var_GetTime.
Referenced by VarText::get().
| string StreamTime::getAsStringTimeLeft | ( | bool | bShortFormat = false |
) | const [virtual] |
Return the time left formatted as a time display (h:mm:ss).
References SkinObject::getIntf(), p_sys, and var_GetTime.
Referenced by VarText::get().
| string StreamTime::getAsStringDuration | ( | bool | bShortFormat = false |
) | const [virtual] |
Return the duration formatted as a time display (h:mm:ss).
References SkinObject::getIntf(), p_sys, and var_GetTime.
Referenced by VarText::get().
1.5.6