1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/QtClient/JoplinQtClient/synchronizer.h

33 lines
412 B
C
Raw Normal View History

2016-12-27 22:25:07 +02:00
#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