mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 22:10:56 +00:00
Keep a singleton ComputerManager outside of the Models
This commit is contained in:
1 parent
0d26ef7e5c
commit
1b1ad86271
9 files changed
+72
-24
No files matched your search
@@ -242,11 +242,11 @@ class ComputerManager : public QObject
|
||||
public:
|
||||
explicit ComputerManager(QObject *parent = nullptr);
|
||||
|
||||
void startPolling();
|
||||
Q_INVOKABLE void startPolling();
|
||||
|
||||
void stopPollingAsync();
|
||||
Q_INVOKABLE void stopPollingAsync();
|
||||
|
||||
bool addNewHost(QString address, bool mdns);
|
||||
Q_INVOKABLE bool addNewHost(QString address, bool mdns);
|
||||
|
||||
QVector<NvComputer*> getComputers();
|
||||
|
||||
|
||||
Reference in new issue
Block a user