X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fpostgresqlstorage.h;h=2445c615ca8ff464aaf89f069325b5dce4d92474;hb=8697a21faab21ae23646f559cba9a85bd95b2ad7;hp=e8f09ae18e394245ca22540676e5d71715792f6b;hpb=feaa219d88fc4778ca787676e95ac99778df492b;p=quassel.git diff --git a/src/core/postgresqlstorage.h b/src/core/postgresqlstorage.h index e8f09ae1..2445c615 100644 --- a/src/core/postgresqlstorage.h +++ b/src/core/postgresqlstorage.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -105,6 +105,10 @@ public slots: QList requestMsgs(UserId user, BufferId bufferId, MsgId first = -1, MsgId last = -1, int limit = -1) override; QList requestAllMsgs(UserId user, MsgId first = -1, MsgId last = -1, int limit = -1) override; + /* Sysident handling */ + virtual QMap getAllAuthusernames(); + virtual const QString getAuthusername(UserId user); + protected: bool initDbSession(QSqlDatabase &db) override; void setConnectionProperties(const QVariantMap &properties) override;