X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreusersettings.h;h=bf303cfad74e39509141a052bbf5ec79be004ce9;hp=eee2e5733757ff29fa9678d7abb396f4496bcfdd;hb=a1d785ae12b3ec04b43e243f3397bb6f8ecf60d5;hpb=21d8d7f0a79eeeb541664aa80ce481fdbfc41f09 diff --git a/src/core/coreusersettings.h b/src/core/coreusersettings.h index eee2e573..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,11 +33,18 @@ class CoreUserSettings : public CoreSettings { public: CoreUserSettings(UserId user); - void storeIdentity(const Identity &identity); - void removeIdentity(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!