MythTV
master
programs
mythfrontend
videoplayercommand.h
Go to the documentation of this file.
1
#ifndef VIDEOPLAYERCOMMAND_H_
2
#define VIDEOPLAYERCOMMAND_H_
3
4
class
VideoMetadata
;
5
class
VideoPlayerCommand
6
{
7
public
:
8
static
VideoPlayerCommand
PlayerFor
(
const
VideoMetadata
*item);
9
static
VideoPlayerCommand
PlayerFor
(
const
QString &
filename
);
10
static
VideoPlayerCommand
AltPlayerFor
(
const
VideoMetadata
*item);
11
12
public
:
13
VideoPlayerCommand
();
14
~VideoPlayerCommand
();
15
16
VideoPlayerCommand
(
const
VideoPlayerCommand
&other);
17
VideoPlayerCommand
&
operator=
(
const
VideoPlayerCommand
&rhs);
18
19
void
Play
()
const
;
20
22
QString
GetCommandDisplayName
()
const
;
23
24
private
:
25
class
VideoPlayerCommandPrivate
*
m_d
{
nullptr
};
26
};
27
28
#endif // PLAYERCOMMAND_H_
VideoMetadata
Definition:
videometadata.h:24
VideoPlayerCommand::Play
void Play() const
Definition:
videoplayercommand.cpp:409
VideoPlayerCommandPrivate
Definition:
videoplayercommand.cpp:183
VideoPlayerCommand::m_d
class VideoPlayerCommandPrivate * m_d
Definition:
videoplayercommand.h:25
VideoPlayerCommand
Definition:
videoplayercommand.h:5
VideoPlayerCommand::VideoPlayerCommand
VideoPlayerCommand()
Definition:
videoplayercommand.cpp:383
VideoPlayerCommand::GetCommandDisplayName
QString GetCommandDisplayName() const
Returns the player command suitable for display to the user.
Definition:
videoplayercommand.cpp:428
VideoPlayerCommand::AltPlayerFor
static VideoPlayerCommand AltPlayerFor(const VideoMetadata *item)
Definition:
videoplayercommand.cpp:362
VideoPlayerCommand::PlayerFor
static VideoPlayerCommand PlayerFor(const VideoMetadata *item)
Definition:
videoplayercommand.cpp:369
build_compdb.filename
filename
Definition:
build_compdb.py:21
VideoPlayerCommand::~VideoPlayerCommand
~VideoPlayerCommand()
Definition:
videoplayercommand.cpp:388
VideoPlayerCommand::operator=
VideoPlayerCommand & operator=(const VideoPlayerCommand &rhs)
Definition:
videoplayercommand.cpp:399
Generated on Wed Sep 6 2023 03:18:38 for MythTV by
1.8.17