aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 5fdc525d..39921938 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -5,13 +5,12 @@
#pragma once
-#include "ssosession.h"
-#include "qt_connection_util.h"
#include "quotient_common.h"
+#include "ssosession.h"
#include "util.h"
-#include "csapi/login.h"
#include "csapi/create_room.h"
+#include "csapi/login.h"
#include "events/accountdataevents.h"
@@ -390,20 +389,12 @@ public:
/**
* Call this before first sync to load from previously saved file.
- *
- * \param fromFile A local path to read the state from. Uses QUrl
- * to be QML-friendly. Empty parameter means saving to the directory
- * defined by stateCachePath() / stateCacheDir().
*/
Q_INVOKABLE void loadState();
/**
* This method saves the current state of rooms (but not messages
* in them) to a local cache file, so that it could be loaded by
* loadState() on a next run of the client.
- *
- * \param toFile A local path to save the state to. Uses QUrl to be
- * QML-friendly. Empty parameter means saving to the directory
- * defined by stateCachePath() / stateCacheDir().
*/
Q_INVOKABLE void saveState() const;