#ifndef SYNCHRONIZER_H #define SYNCHRONIZER_H #include #include "webapi.h" #include "database.h" namespace jop { class Synchronizer : public QObject { Q_OBJECT public: Synchronizer(WebApi &api, Database& database); void start(); private: WebApi& api_; Database& db_; public slots: void api_requestDone(const QJsonObject& response, const QString& tag); }; } #endif // SYNCHRONIZER_H