MythTV
master
mythtv
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:25
VideoPlayerCommandPrivate
Definition:
videoplayercommand.cpp:183
VideoPlayerCommand
Definition:
videoplayercommand.h:6
VideoPlayerCommand::AltPlayerFor
static VideoPlayerCommand AltPlayerFor(const VideoMetadata *item)
Definition:
videoplayercommand.cpp:361
VideoPlayerCommand::m_d
class VideoPlayerCommandPrivate * m_d
Definition:
videoplayercommand.h:25
VideoPlayerCommand::Play
void Play() const
Definition:
videoplayercommand.cpp:408
VideoPlayerCommand::operator=
VideoPlayerCommand & operator=(const VideoPlayerCommand &rhs)
Definition:
videoplayercommand.cpp:398
VideoPlayerCommand::PlayerFor
static VideoPlayerCommand PlayerFor(const VideoMetadata *item)
Definition:
videoplayercommand.cpp:368
VideoPlayerCommand::VideoPlayerCommand
VideoPlayerCommand()
Definition:
videoplayercommand.cpp:382
VideoPlayerCommand::~VideoPlayerCommand
~VideoPlayerCommand()
Definition:
videoplayercommand.cpp:387
VideoPlayerCommand::GetCommandDisplayName
QString GetCommandDisplayName() const
Returns the player command suitable for display to the user.
Definition:
videoplayercommand.cpp:427
build_compdb.filename
filename
Definition:
build_compdb.py:21
Generated on Mon Dec 15 2025 03:16:34 for MythTV by
1.9.4