Move the SocketApi business logic to a libsync SyncFileStatusTracker class

This will allow testing this code and avoid going through too many
layers to get notified and a file status changed.
Esse commit está contido em:
Jocelyn Turcotte
2016-03-17 12:26:44 +01:00
commit da7b9916e5
9 arquivos alterados com 296 adições e 234 exclusões
+1
Ver Arquivo
@@ -93,6 +93,7 @@ SyncEngine::SyncEngine(AccountPtr account, const QString& localPath,
csync_create(&_csync_ctx, localPath.toUtf8().data(), url_string.toUtf8().data());
csync_init(_csync_ctx);
_excludedFiles.reset(new ExcludedFiles(&_csync_ctx->excludes));
_syncFileStatusTracker.reset(new SyncFileStatusTracker(this));
_thread.setObjectName("SyncEngine_Thread");
}