X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreusersettings.h;h=54d452744aa4a3dbf79875f01e39459fdd8a2cba;hp=3a8c6b391a7c8e3f3cfe66d641264a5b9bc7c346;hb=02666f58f85f8c8a127804716e7df2d52d1e273c;hpb=6f2f1723f5bb3d26908f6dd297890f6fba43793b diff --git a/src/core/coreusersettings.h b/src/core/coreusersettings.h index 3a8c6b39..54d45274 100644 --- a/src/core/coreusersettings.h +++ b/src/core/coreusersettings.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef _COREUSERSETTINGS_H_ @@ -23,25 +23,25 @@ #include "coresettings.h" #include "identity.h" +#include "network.h" #include "types.h" #include -class CoreUserSettings : public CoreSettings { - - public: +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); void setSessionState(const QVariant &data); QVariant sessionState(const QVariant &def = QVariant()); - private: +private: // this stuff should only be accessed by CoreSession! QVariantMap sessionData(); QVariant sessionValue(const QString &key, const QVariant &def = QVariant()); @@ -52,4 +52,5 @@ class CoreUserSettings : public CoreSettings { friend class CoreSession; }; + #endif