mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix some data races (#890)
This commit is contained in:
@@ -39,16 +39,6 @@ public:
|
||||
void start();
|
||||
void stop();
|
||||
|
||||
quint16 getPort() const { return _port; }
|
||||
|
||||
/// check if server has been inited
|
||||
bool isInited() const { return _inited; }
|
||||
|
||||
///
|
||||
/// @brief Set a new description, if empty the description is NotFound for clients
|
||||
///
|
||||
void setSSDPDescription(const QString & desc);
|
||||
|
||||
signals:
|
||||
///
|
||||
/// @emits whenever server is started or stopped (to sync with SSDPHandler)
|
||||
@@ -78,6 +68,16 @@ public slots:
|
||||
///
|
||||
void handleSettingsUpdate(const settings::type& type, const QJsonDocument& config);
|
||||
|
||||
///
|
||||
/// @brief Set a new description, if empty the description is NotFound for clients
|
||||
///
|
||||
void setSSDPDescription(const QString & desc);
|
||||
|
||||
/// check if server has been inited
|
||||
bool isInited() const { return _inited; }
|
||||
|
||||
quint16 getPort() const { return _port; }
|
||||
|
||||
private:
|
||||
QJsonDocument _config;
|
||||
bool _useSsl;
|
||||
|
Reference in New Issue
Block a user