X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore%2Fsqlauthenticator.h;h=eb33360159e28b70cba948b75082cfc5c2a946bb;hb=092e6b212637ffbf68800584b7c1f32d1931b602;hp=4f2c71f18d8109c497903bd53d8fbcfd73a435a6;hpb=258d157a228d2b2b46b01d3b33ab932b9979436a;p=quassel.git diff --git a/src/core/sqlauthenticator.h b/src/core/sqlauthenticator.h index 4f2c71f1..eb333601 100644 --- a/src/core/sqlauthenticator.h +++ b/src/core/sqlauthenticator.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 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 * @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef SQLAUTHENTICATOR_H -#define SQLAUTHENTICATOR_H +#pragma once #include "authenticator.h" @@ -35,9 +34,9 @@ public slots: /* General */ bool isAvailable() const; QString backendId() const; + QString displayName() const; QString description() const; - virtual inline QStringList setupKeys() const { return QStringList(); } - virtual inline QVariantMap setupDefaults() const { return QVariantMap(); } + virtual inline QVariantList setupData() const { return {}; } virtual inline bool canChangePassword() const { return true; } @@ -47,8 +46,4 @@ public slots: /* User handling */ //virtual UserId getUserId(const QString &username); - }; - - -#endif