mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Toggle Discovery
This commit is contained in:
parent
696cf7823f
commit
fd0bf8600d
8 changed files with 134 additions and 31 deletions
|
@ -43,6 +43,7 @@ class DiscoveryManager : public QObject
|
|||
private:
|
||||
ChiakiLog log;
|
||||
ChiakiDiscoveryService service;
|
||||
bool service_active;
|
||||
QList<DiscoveryHost> hosts;
|
||||
|
||||
private slots:
|
||||
|
@ -52,6 +53,8 @@ class DiscoveryManager : public QObject
|
|||
explicit DiscoveryManager(QObject *parent = nullptr);
|
||||
~DiscoveryManager();
|
||||
|
||||
void SetActive(bool active);
|
||||
|
||||
const QList<DiscoveryHost> GetHosts() const { return hosts; }
|
||||
|
||||
signals:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue