MythTV  master
mythplayeruibase.cpp
Go to the documentation of this file.
1 // MythTV
4 #include "mythplayeruibase.h"
5 
6 #define LOC QString("PlayerBase: ")
7 
14  : MythPlayer(Context, Flags),
15  m_mainWindow(MainWindow),
16  m_tv(Tv),
17  m_render(MainWindow->GetRenderDevice()),
18  m_painter(MainWindow->GetPainter()),
19  m_display(MainWindow->GetDisplay())
20 {
21 }
22 
24 {
25  LOG(VB_GENERAL, LOG_INFO, LOC + "Player state ready");
26 }
27 
29 {
30  return m_render;
31 }
LOG
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
Definition: mythlogging.h:39
PlayerFlags
PlayerFlags
Definition: mythplayer.h:64
MythPlayerUIBase::InitialiseState
virtual void InitialiseState()
Definition: mythplayeruibase.cpp:23
MythPlayer
Definition: mythplayer.h:83
mythlogging.h
mythplayeruibase.h
MythPlayerUIBase::GetRender
MythRender * GetRender() const
Definition: mythplayeruibase.cpp:28
LOC
#define LOC
Definition: mythplayeruibase.cpp:6
MythRender
Definition: mythrender_base.h:23
PlayerContext
Definition: playercontext.h:49
MythPlayerUIBase::m_render
MythRender * m_render
Definition: mythplayeruibase.h:19
mythmainwindow.h
MythMainWindow
Definition: mythmainwindow.h:28
MythPlayerUIBase::MythPlayerUIBase
MythPlayerUIBase(MythMainWindow *MainWindow, TV *Tv, PlayerContext *Context, PlayerFlags Flags)
Definition: mythplayeruibase.cpp:13
TV
Control TV playback.
Definition: tv_play.h:154