| 33 | #include "vulkanDeviceInfo.h" |
| 34 | |
| 35 | class VulkanDatabase : |
| 36 | public QObject |
| 37 | { |
| 38 | Q_OBJECT |
| 39 | private: |
| 40 | QNetworkProxy *proxy; |
| 41 | QNetworkAccessManager *manager; |
| 42 | QString httpGet(QString url); |
| 43 | QString encodeUrl(QString url); |
| 44 | public: |
| 45 | static QString username; |
| 46 | static QString password; |
| 47 | static QString databaseUrl; |
| 48 | int getReportId(VulkanDeviceInfo device); |
| 49 | bool checkReportPresent(VulkanDeviceInfo device, int &reportId); |
| 50 | bool checkCanUpdateReport(VulkanDeviceInfo &device, int reportId); |
| 51 | bool checkServerConnection(QString& message); |
| 52 | bool uploadReport(QJsonObject json, QString& message); |
| 53 | bool postReportForUpdate(VulkanDeviceInfo &device, int reportId, QString &updateLog); |
| 54 | }; |
| 55 |
nothing calls this directly
no outgoing calls
no test coverage detected