MythTV
master
libs
libmythtv
mythplayeruibase.cpp
Go to the documentation of this file.
1
// MythTV
2
#include "
libmythui/mythmainwindow.h
"
3
#include "
mythplayeruibase.h
"
4
5
#define LOC QString("PlayerBase: ")
6
12
MythPlayerUIBase::MythPlayerUIBase
(
MythMainWindow
* MainWindow,
TV
* Tv,
PlayerContext
* Context,
PlayerFlags
Flags)
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
22
void
MythPlayerUIBase::InitialiseState
()
23
{
24
LOG
(VB_GENERAL, LOG_INFO,
LOC
+
"Player state ready"
);
25
}
26
27
MythRender
*
MythPlayerUIBase::GetRender
()
const
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
Generated on Tue Apr 16 2024 03:18:47 for MythTV by
1.8.17