aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-02-15 07:49:33 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-02-15 07:49:33 +0900
commit9a0f5ce3de03cb7479737da62b38fd6a63898651 (patch)
tree8f56482d58716ed34866df03a6b8547ca2eecf75 /lib/connection.h
parent01230c16ef8b529ec07d429617247ee383e5c2bb (diff)
parent3285850731022773c45621509205b9e8cd790282 (diff)
downloadlibquotient-9a0f5ce3de03cb7479737da62b38fd6a63898651.tar.gz
libquotient-9a0f5ce3de03cb7479737da62b38fd6a63898651.zip
Merge branch 'master' into kitsune-room-versions
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 9e4c1a26..8c938df2 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;