vdr-plugin-softhddevice-drm-gles 1.6.2
cSoftHdMenu Class Reference

Plugin Main Menu. More...

#include <softhdmenu.h>

Public Member Functions

 cSoftHdMenu (const char *, cSoftHdDevice *, int=0, int=0, int=0, int=0, int=0)
 Build main or playlist menu.
 
virtual ~cSoftHdMenu ()
 
void PlayListMenu (void)
 Create mediaplayer playlist menu.
 
virtual eOSState ProcessKey (eKeys)
 Handle key event.
 

Static Public Member Functions

static cSoftHdMenuMenu ()
 

Static Public Attributes

static cSoftHdMenupSoftHdMenu = NULL
 

Private Member Functions

void HandleHotKey (int)
 Handle a key code which was compose by hotkey handling in ProcessKey()
 
void MainMenu (void)
 Create main menu.
 
void SelectPlaylistMenu (void)
 Create mediaplayer select playlist menu.
 
void FindFileMenu (std::string, FILE *)
 Create mediaplayer sub menu find file or make a play list.
 
void MakePlayList (const char *, const char *)
 Make a play list.
 
bool IsValidMediaFile (const char *)
 Test if it's a media file - at least if it has the right file extension...
 
void PlayMedia (const char *)
 Play media file.
 

Private Attributes

cSoftHdDevicem_pDevice
 
HotkeyState m_hotkeyState = HotkeyState::Initial
 
std::string m_path
 
std::string m_lastItem
 
std::string m_playlist
 

Detailed Description

Plugin Main Menu.

Definition at line 36 of file softhdmenu.h.

Member Function Documentation

◆ Menu()

static cSoftHdMenu * cSoftHdMenu::Menu ( )
inlinestatic

Definition at line 41 of file softhdmenu.h.

References pSoftHdMenu.

Referenced by cSoftHdPlayer::Action().

Member Data Documentation

◆ m_hotkeyState

HotkeyState cSoftHdMenu::m_hotkeyState = HotkeyState::Initial
private

Definition at line 50 of file softhdmenu.h.

Referenced by ProcessKey().

◆ m_lastItem

std::string cSoftHdMenu::m_lastItem
private

Definition at line 61 of file softhdmenu.h.

Referenced by FindFileMenu(), and ProcessKey().

◆ m_path

std::string cSoftHdMenu::m_path
private

Definition at line 60 of file softhdmenu.h.

Referenced by MakePlayList(), PlayMedia(), and ProcessKey().

◆ m_pDevice

cSoftHdDevice* cSoftHdMenu::m_pDevice
private

Definition at line 48 of file softhdmenu.h.

Referenced by HandleHotKey(), MainMenu(), PlayMedia(), and ProcessKey().

◆ m_playlist

std::string cSoftHdMenu::m_playlist
private

Definition at line 62 of file softhdmenu.h.

Referenced by cSoftHdMenu(), FindFileMenu(), MakePlayList(), and ProcessKey().


The documentation for this class was generated from the following files: