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