Changeset View
Changeset View
Standalone View
Standalone View
libdiscover/backends/FlatpakBackend/FlatpakBackend.h
Show All 21 Lines | |||||
22 | #ifndef FLATPAKBACKEND_H | 22 | #ifndef FLATPAKBACKEND_H | ||
23 | #define FLATPAKBACKEND_H | 23 | #define FLATPAKBACKEND_H | ||
24 | 24 | | |||
25 | #include "FlatpakResource.h" | 25 | #include "FlatpakResource.h" | ||
26 | 26 | | |||
27 | #include <resources/AbstractResourcesBackend.h> | 27 | #include <resources/AbstractResourcesBackend.h> | ||
28 | #include <QVariantList> | 28 | #include <QVariantList> | ||
29 | #include <QSharedPointer> | 29 | #include <QSharedPointer> | ||
30 | #include <QThreadPool> | ||||
30 | 31 | | |||
31 | #include <AppStreamQt/component.h> | 32 | #include <AppStreamQt/component.h> | ||
32 | 33 | | |||
33 | extern "C" { | 34 | extern "C" { | ||
34 | #include <flatpak.h> | 35 | #include <flatpak.h> | ||
35 | } | 36 | } | ||
36 | 37 | | |||
37 | class QAction; | 38 | class QAction; | ||
▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | 73 | private: | |||
103 | QHash<QString, FlatpakResource*> m_resources; | 104 | QHash<QString, FlatpakResource*> m_resources; | ||
104 | StandardBackendUpdater *m_updater; | 105 | StandardBackendUpdater *m_updater; | ||
105 | FlatpakSourcesBackend *m_sources = nullptr; | 106 | FlatpakSourcesBackend *m_sources = nullptr; | ||
106 | QSharedPointer<OdrsReviewsBackend> m_reviews; | 107 | QSharedPointer<OdrsReviewsBackend> m_reviews; | ||
107 | bool m_fetching; | 108 | bool m_fetching; | ||
108 | 109 | | |||
109 | GCancellable *m_cancellable; | 110 | GCancellable *m_cancellable; | ||
110 | QVector<FlatpakInstallation *> m_installations; | 111 | QVector<FlatpakInstallation *> m_installations; | ||
112 | QThreadPool m_threadPool; | ||||
111 | }; | 113 | }; | ||
112 | 114 | | |||
113 | #endif // FLATPAKBACKEND_H | 115 | #endif // FLATPAKBACKEND_H |