1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/QtClient/JoplinQtClient/synchronizer.h
Laurent Cozic a409f994cd api sync
2016-12-27 21:25:07 +01:00

33 lines
412 B
C++
Executable File

#ifndef SYNCHRONIZER_H
#define SYNCHRONIZER_H
#include <stable.h>
#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