+ virtual void setUserSetting(UserId userId, const QString &settingName, const QVariant &data);
+ virtual QVariant getUserSetting(UserId userId, const QString &settingName, const QVariant &defaultData = QVariant());
+
+ /* Identity handling */
+ virtual IdentityId createIdentity(UserId user, CoreIdentity &identity);
+ virtual bool updateIdentity(UserId user, const CoreIdentity &identity);
+ virtual void removeIdentity(UserId user, IdentityId identityId);
+ virtual QList<CoreIdentity> identities(UserId user);
+
+ /* Network handling */
+ virtual NetworkId createNetwork(UserId user, const NetworkInfo &info);
+ virtual bool updateNetwork(UserId user, const NetworkInfo &info);
+ virtual bool removeNetwork(UserId user, const NetworkId &networkId);
+ virtual QList<NetworkInfo> networks(UserId user);
+ virtual QList<NetworkId> connectedNetworks(UserId user);
+ virtual void setNetworkConnected(UserId user, const NetworkId &networkId, bool isConnected);
+
+ /* persistent channels */
+ virtual QHash<QString, QString> persistentChannels(UserId user, const NetworkId &networkId);
+ virtual void setChannelPersistent(UserId user, const NetworkId &networkId, const QString &channel, bool isJoined);
+ virtual void setPersistentChannelKey(UserId user, const NetworkId &networkId, const QString &channel, const QString &key);
+
+ /* persistent user states */
+ virtual QString awayMessage(UserId user, NetworkId networkId);
+ virtual void setAwayMessage(UserId user, NetworkId networkId, const QString &awayMsg);
+ virtual QString userModes(UserId user, NetworkId networkId);
+ virtual void setUserModes(UserId user, NetworkId networkId, const QString &userModes);