hostsapi.h 309 B

12345678910111213141516171819202122
  1. #ifndef HOSTSAPI_H
  2. #define HOSTSAPI_H
  3. #include <QObject>
  4. #include <optional>
  5. namespace TC {
  6. class HostsApi : public QObject
  7. {
  8. Q_OBJECT
  9. public:
  10. explicit HostsApi(QObject *parent = nullptr);
  11. QJsonArray get();
  12. QString url;
  13. QByteArray sendData;
  14. };
  15. } // namespace TC
  16. #endif // HOSTSAPI_H