mirror of
https://gitlab.com/spaceti-app/integrations/acs/colnod-connector.git
synced 2026-07-12 18:40:48 +02:00
updated sever-sdk + fixed unused warnings + added explicit to TimeStamp constructor
This commit is contained in:
parent
7225ebe2ce
commit
3fbeb3130c
@ -1 +1 @@
|
||||
Subproject commit 2041fed9fab14658ceb574edaf5e4d31ed81e23a
|
||||
Subproject commit a818055b75dc0de97e26be44cbbfd2e94516c09e
|
||||
@ -24,7 +24,7 @@ class Timestamp : public serversdk::DatabaseTable {
|
||||
TABLE_PROPERTY(qint64, timestamp, set_timestamp, 0)
|
||||
public:
|
||||
Timestamp() = default;
|
||||
Timestamp(const Timestamp &time)
|
||||
explicit Timestamp(const Timestamp &time)
|
||||
{
|
||||
this->set_timestamp(time.timestamp());
|
||||
}
|
||||
|
||||
@ -37,7 +37,7 @@ public:
|
||||
QList<QString> deletedSubjects;
|
||||
};
|
||||
|
||||
class PreparedData
|
||||
struct PreparedData
|
||||
{
|
||||
// TODO: make unique_ptr ( neeed because of ColnodAPI )
|
||||
std::shared_ptr<Data> databaseData;
|
||||
|
||||
@ -82,15 +82,14 @@ bool SyncManager::startSynchronization()
|
||||
return;
|
||||
}
|
||||
|
||||
colnod->processData(preparedData->colnodData);
|
||||
|
||||
|
||||
// NOT FINISHED scolnod->processData(preparedData->colnodData);
|
||||
});
|
||||
|
||||
return true;
|
||||
//downloadData();
|
||||
|
||||
auto colnodDataFinished = [=](std::shared_ptr<Data> data) {
|
||||
Q_UNUSED(data)
|
||||
qDebug() << "Now I can check that I have all data I need";
|
||||
};
|
||||
|
||||
@ -132,6 +131,8 @@ bool SyncManager::startSynchronization()
|
||||
|
||||
std::unique_ptr<PreparedData> SyncManager::prepareDataNew(const std::shared_ptr<Data> &databaseData, const std::shared_ptr<Data> &colnodData)
|
||||
{
|
||||
Q_UNUSED(databaseData);
|
||||
Q_UNUSED(colnodData);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user