store sessions in database

This commit is contained in:
Max-Wilhelm Bruker 2011-12-04 13:36:53 +01:00
parent a7f3ce4050
commit 1455c093cc
8 changed files with 52 additions and 2 deletions

View file

@ -20,6 +20,8 @@ public:
LocalServerInterface *newConnection();
protected:
int startSession(const QString & /*userName*/, const QString & /*address*/) { return -1; }
void endSession(int /*sessionId*/) { }
bool userExists(const QString & /*name*/) { return false; }
ServerInfo_User *getUserData(const QString &name);
QMap<QString, ServerInfo_User *> getBuddyList(const QString & /*name*/) { return QMap<QString, ServerInfo_User *>(); }