1 #ifndef MYTHRAOPDEVICE_H
2 #define MYTHRAOPDEVICE_H
5 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
8 #include <QRecursiveMutex>
25 static bool Create(
void);
26 static void Cleanup(
void);
33 void TVPlaybackStarting(
void);
38 void newRaopConnection(QTcpSocket *client);
44 bool RegisterForBonjour(
void);
48 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
49 static QMutex *gMythRAOPDeviceMutex;
56 QString m_name {
"MythTV"};
60 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
61 QMutex *m_lock {
nullptr};
63 QRecursiveMutex *m_lock {
nullptr};
65 int m_setupPort {5000};
71 #endif // MYTHRAOPDEVICE_H