Skip to content

Commit

Permalink
MythPlayer: Inherit from QObject
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Sep 17, 2020
1 parent 8bb3d07 commit b962cb3
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions mythtv/libs/libmythtv/mythplayer.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
#ifndef MYTHPLAYER_H
#define MYTHPLAYER_H

// Std
#include <cstdint>
#include <utility>

// Qt
#include <QCoreApplication>
#include <QList>
#include <QMutex> // for QMutex
#include <QTime> // for QTime
#include <QString> // for QString
#include <QRect> // for QRect
#include <QSize> // for QSize
#include <QStringList> // for QStringList
#include <QWaitCondition> // for QWaitCondition

#include <QMutex>
#include <QTime>
#include <QString>
#include <QRect>
#include <QSize>
#include <QStringList>
#include <QWaitCondition>

// MythTV
#include "playercontext.h"
#include "volumebase.h"
#include "osd.h"
Expand All @@ -27,14 +30,13 @@
#include "commbreakmap.h"
#include "audioplayer.h"
#include "audiooutputgraph.h"
#include "mthread.h" // for MThread
#include "mythavutil.h" // for VideoFrame
#include "mythtypes.h" // for InfoMap
#include "programtypes.h" // for frm_dir_map_t, etc
#include "tv.h" // for CommSkipMode
#include "videoouttypes.h" // for FrameScanType, PIPLocation, etc
#include "mthread.h"
#include "mythavutil.h"
#include "mythtypes.h"
#include "programtypes.h"
#include "tv.h"
#include "videoouttypes.h"
#include "mythmiscutil.h"

#include "mythtvexp.h"

class MythVideoOutput;
Expand Down Expand Up @@ -148,9 +150,9 @@ class DecoderCallback
// still higher than the default warning threshhold of 24 bytes.
//
// NOLINTNEXTLINE(clang-analyzer-optin.performance.Padding)
class MTV_PUBLIC MythPlayer
class MTV_PUBLIC MythPlayer : public QObject
{
Q_DECLARE_TR_FUNCTIONS(MythPlayer)
Q_OBJECT

// Do NOT add a decoder class to this list
friend class PlayerContext;
Expand Down

0 comments on commit b962cb3

Please sign in to comment.