mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
filtering: Move to C++ backend
This commit is contained in:
parent
b29ec3350c
commit
b3d5221ac2
3 changed files with 60 additions and 34 deletions
|
@ -86,7 +86,7 @@ public:
|
|||
Q_INVOKABLE void beginOSListFetch();
|
||||
|
||||
/** Set the HW filter, for a filtered view of the OS list */
|
||||
Q_INVOKABLE void setHWFilterList(const QByteArray &json);
|
||||
Q_INVOKABLE void setHWFilterList(const QByteArray &json, const bool &inclusive);
|
||||
|
||||
/* Set custom cache file */
|
||||
void setCustomCacheFile(const QString &cacheFile, const QByteArray &sha256);
|
||||
|
@ -184,6 +184,7 @@ private:
|
|||
QNetworkAccessManager _networkManager;
|
||||
QJsonDocument _completeOsList;
|
||||
QJsonArray _deviceFilter;
|
||||
bool _deviceFilterIsInclusive;
|
||||
std::mutex _deviceListMutationMutex;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue