X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fsqlauthenticator.cpp;h=969f2d02b77370aa88b20c31c619cdc2d64fff23;hb=61f33c7895e324f6e95034d86897ad2e963653f1;hp=b6984d2baa80f75b10c9bbdb01e2bb501964db43;hpb=cfbd4daee17dbb3c4052d938bf33edd08711d728;p=quassel.git diff --git a/src/core/sqlauthenticator.cpp b/src/core/sqlauthenticator.cpp index b6984d2b..969f2d02 100644 --- a/src/core/sqlauthenticator.cpp +++ b/src/core/sqlauthenticator.cpp @@ -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 * @@ -20,7 +20,7 @@ #include "sqlauthenticator.h" -#include "logger.h" +#include "logmessage.h" #include "network.h" #include "quassel.h" @@ -32,11 +32,6 @@ SqlAuthenticator::SqlAuthenticator(QObject *parent) } -SqlAuthenticator::~SqlAuthenticator() -{ -} - - bool SqlAuthenticator::isAvailable() const { // FIXME: probably this should query the current storage (see the ::init routine too). @@ -72,16 +67,23 @@ UserId SqlAuthenticator::validateUser(const QString &user, const QString &passwo } -bool SqlAuthenticator::setup(const QVariantMap &settings) +bool SqlAuthenticator::setup(const QVariantMap &settings, const QProcessEnvironment &environment, + bool loadFromEnvironment) { Q_UNUSED(settings) + Q_UNUSED(environment) + Q_UNUSED(loadFromEnvironment) return true; } -Authenticator::State SqlAuthenticator::init(const QVariantMap &settings) +Authenticator::State SqlAuthenticator::init(const QVariantMap &settings, + const QProcessEnvironment &environment, + bool loadFromEnvironment) { Q_UNUSED(settings) + Q_UNUSED(environment) + Q_UNUSED(loadFromEnvironment) // TODO: FIXME: this should check if the storage provider is ready, but I don't // know if there's an exposed way to do that at the moment.