X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fstorage.h;h=9bf9a0ad119ae9e357b10efd85d72651b0121723;hp=2016ed395fc1dc335740b11f8fca93bae7ad162b;hb=a49409f619ba884568a021ea2e0ec94bcc2491f3;hpb=1eb21546673535f5707aa6346e8c749b928cd772 diff --git a/src/core/storage.h b/src/core/storage.h index 2016ed39..9bf9a0ad 100644 --- a/src/core/storage.h +++ b/src/core/storage.h @@ -102,6 +102,11 @@ class Storage : public QObject { */ virtual UserId validateUser(const QString &user, const QString &password) = 0; + //! Determine the UserId of the internal user + /** \return A valid UserId if the password matches the username; 0 else + */ + virtual UserId internalUser() = 0; + //! Remove a core user from storage. /** \param user The userid to delete */