vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
cPlaylistEntry Class Reference

#include <mediaplayer.h>

Public Member Functions

 cPlaylistEntry (std::string)
 Builds the playlist entry from a file name.
 
std::string OsdItemString (void)
 Compose a full-path-string for the OSD entry.
 
cPlaylistEntryGetNextEntry (void)
 
void SetNextEntry (cPlaylistEntry *entry)
 
std::string GetPath (void)
 

Private Attributes

std::string m_path
 
std::string m_file
 
std::string m_subFolder
 
std::string m_folder
 
cPlaylistEntrym_pNextEntry = nullptr
 

Detailed Description

Definition at line 37 of file mediaplayer.h.

Constructor & Destructor Documentation

◆ cPlaylistEntry()

cPlaylistEntry::cPlaylistEntry ( std::string  path)

Builds the playlist entry from a file name.

Parameters
pathfull path name to the file

Definition at line 52 of file mediaplayer.cpp.

References m_file, m_folder, m_path, and m_subFolder.

Member Function Documentation

◆ GetNextEntry()

cPlaylistEntry * cPlaylistEntry::GetNextEntry ( void  )
inline

◆ GetPath()

std::string cPlaylistEntry::GetPath ( void  )
inline

Definition at line 45 of file mediaplayer.h.

References m_path.

Referenced by cSoftHdPlayer::Action(), and cSoftHdControl::ShowProgress().

◆ OsdItemString()

std::string cPlaylistEntry::OsdItemString ( void  )

Compose a full-path-string for the OSD entry.

Definition at line 67 of file mediaplayer.cpp.

References m_file, m_folder, and m_subFolder.

Referenced by cSoftHdMenu::PlayListMenu().

◆ SetNextEntry()

void cPlaylistEntry::SetNextEntry ( cPlaylistEntry entry)
inline

Definition at line 44 of file mediaplayer.h.

References m_pNextEntry.

Referenced by cSoftHdPlayer::ReadPlaylist().

Member Data Documentation

◆ m_file

std::string cPlaylistEntry::m_file
private

Definition at line 48 of file mediaplayer.h.

Referenced by cPlaylistEntry(), and OsdItemString().

◆ m_folder

std::string cPlaylistEntry::m_folder
private

Definition at line 50 of file mediaplayer.h.

Referenced by cPlaylistEntry(), and OsdItemString().

◆ m_path

std::string cPlaylistEntry::m_path
private

Definition at line 47 of file mediaplayer.h.

Referenced by cPlaylistEntry(), and GetPath().

◆ m_pNextEntry

cPlaylistEntry* cPlaylistEntry::m_pNextEntry = nullptr
private

Definition at line 51 of file mediaplayer.h.

Referenced by GetNextEntry(), and SetNextEntry().

◆ m_subFolder

std::string cPlaylistEntry::m_subFolder
private

Definition at line 49 of file mediaplayer.h.

Referenced by cPlaylistEntry(), and OsdItemString().


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