aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 9e4121f4..45b691e1 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -371,6 +371,8 @@ namespace QMatrixClient
void logout();
void sync(int timeout = -1);
+ void syncLoop(int timeout = -1);
+
void stopSync();
QString nextBatchToken() const;
@@ -679,6 +681,9 @@ namespace QMatrixClient
*/
void onSyncSuccess(SyncData &&data, bool fromCache = false);
+ protected slots:
+ void syncLoopIteration();
+
private:
class Private;
std::unique_ptr<Private> d;