Bringing back session save/restore. Old state won't be imported, unfortunately,
[quassel.git] / src / core / coreusersettings.h
index eee2e57..3a8c6b3 100644 (file)
@@ -38,6 +38,9 @@ class CoreUserSettings : public CoreSettings {
     Identity identity(IdentityId id);
     QList<IdentityId> identityIds();
 
+    void setSessionState(const QVariant &data);
+    QVariant sessionState(const QVariant &def = QVariant());
+
   private:
     // this stuff should only be accessed by CoreSession!
     QVariantMap sessionData();