|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
#include <mediaplayer.h>
Public Member Functions | |
| cSoftHdControl (const char *, cSoftHdDevice *) | |
| Create a new control interface and corresponding player. | |
| virtual | ~cSoftHdControl () |
| virtual void | Hide (void) |
| Close the replay OSD. | |
| virtual eOSState | ProcessKey (eKeys) |
| Handle a key event. | |
| void | Close (void) |
Static Public Member Functions | |
| static cSoftHdControl * | Control () |
| static cSoftHdPlayer * | Player () |
Private Member Functions | |
| void | ShowProgress () |
| Open the replay OSD. | |
Private Attributes | |
| cSkinDisplayReplay * | m_pOsd = nullptr |
| cSoftHdDevice * | m_pDevice |
| bool | m_closing = false |
Static Private Attributes | |
| static cSoftHdControl * | m_pControl = NULL |
| static cSoftHdPlayer * | m_pPlayer = NULL |
Definition at line 108 of file mediaplayer.h.
| cSoftHdControl::cSoftHdControl | ( | const char * | url, |
| cSoftHdDevice * | device | ||
| ) |
Create a new control interface and corresponding player.
| url | file or playlist to be played |
| device | pointer to device |
Definition at line 369 of file mediaplayer.cpp.
References m_pControl.
|
virtual |
Definition at line 376 of file mediaplayer.cpp.
References m_pControl, and m_pPlayer.
|
inline |
Definition at line 118 of file mediaplayer.h.
References m_closing.
Referenced by cSoftHdPlayer::Action().
|
inlinestatic |
Definition at line 116 of file mediaplayer.h.
References m_pControl.
Referenced by cSoftHdPlayer::Action(), cSoftHdMenu::cSoftHdMenu(), cSoftHdMenu::PlayListMenu(), cSoftHdMenu::PlayMedia(), and cSoftHdMenu::ProcessKey().
|
virtual |
Close the replay OSD.
Definition at line 386 of file mediaplayer.cpp.
References L_MEDIA, LOGDEBUG2, and m_pOsd.
Referenced by ProcessKey().
|
inlinestatic |
Definition at line 117 of file mediaplayer.h.
References m_pPlayer.
Referenced by cSoftHdMenu::PlayListMenu(), and cSoftHdMenu::ProcessKey().
|
virtual |
Handle a key event.
| key | pressed key |
Definition at line 418 of file mediaplayer.cpp.
References cSoftHdDevice::Freeze(), Hide(), cSoftHdPlayer::IsPaused(), cSoftHdPlayer::JumpSec(), m_closing, m_pDevice, m_pOsd, m_pPlayer, cSoftHdPlayer::Pause(), cSoftHdDevice::Play(), ShowProgress(), and cSoftHdPlayer::Stop().
|
private |
Open the replay OSD.
Definition at line 398 of file mediaplayer.cpp.
References cSoftHdPlayer::GetCurrentPlaylistEntry(), cSoftHdPlayer::GetCurrentTime(), cSoftHdPlayer::GetDuration(), cPlaylistEntry::GetPath(), cSoftHdPlayer::GetSource(), L_MEDIA, LOGDEBUG2, m_pOsd, and m_pPlayer.
Referenced by ProcessKey().
|
private |
Definition at line 127 of file mediaplayer.h.
Referenced by Close(), and ProcessKey().
|
staticprivate |
Definition at line 123 of file mediaplayer.h.
Referenced by Control(), cSoftHdControl(), and ~cSoftHdControl().
|
private |
Definition at line 126 of file mediaplayer.h.
Referenced by ProcessKey().
|
private |
Definition at line 125 of file mediaplayer.h.
Referenced by Hide(), ProcessKey(), and ShowProgress().
|
staticprivate |
Definition at line 124 of file mediaplayer.h.
Referenced by Player(), ProcessKey(), ShowProgress(), and ~cSoftHdControl().