X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreusersettings.h;h=bf303cfad74e39509141a052bbf5ec79be004ce9;hb=9204e98848ab202c0117aa1428fa0ea10b4dcd75;hp=4a8621d87ca815cdd65e7f5c5cb01094bcf1e370;hpb=1607bfc3101e08fe0aeeaa3b50af6ddc9a4f9e3c;p=quassel.git diff --git a/src/core/coreusersettings.h b/src/core/coreusersettings.h index 4a8621d8..bf303cfa 100644 --- a/src/core/coreusersettings.h +++ b/src/core/coreusersettings.h @@ -23,6 +23,7 @@ #include "coresettings.h" #include "identity.h" +#include "network.h" #include "types.h" #include @@ -32,9 +33,18 @@ class CoreUserSettings : public CoreSettings { public: CoreUserSettings(UserId user); - void setIdentity(const Identity &identity); Identity identity(IdentityId id); + QList identityIds(); + void storeIdentity(const Identity &identity); + void removeIdentity(IdentityId id); + NetworkInfo networkInfo(NetworkId id); + QList networkIds(); + void storeNetworkInfo(const NetworkInfo &info); + void removeNetworkInfo(NetworkId id); + + void setSessionState(const QVariant &data); + QVariant sessionState(const QVariant &def = QVariant()); private: // this stuff should only be accessed by CoreSession!