1/*
2 SPDX-FileCopyrightText: 2008 Nicola Gigante <nicola.gigante@gmail.com>
3 SPDX-FileCopyrightText: 2009 Dario Freddi <drf@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#ifndef KAUTH_BACKENDS_MANAGER_H
9#define KAUTH_BACKENDS_MANAGER_H
10
11#include "AuthBackend.h"
12#include "HelperProxy.h"
13#include "kauthcore_export.h"
14
15namespace KAuth
16{
17class KAUTHCORE_EXPORT BackendsManager
18{
19private:
20 static AuthBackend *auth;
21 static HelperProxy *helper;
22
23 KAUTHCORE_NO_EXPORT BackendsManager();
24
25public:
26 static AuthBackend *authBackend();
27 static HelperProxy *helperProxy();
28
29private:
30 KAUTHCORE_NO_EXPORT static void init();
31 KAUTHCORE_NO_EXPORT static QList<QObject *> retrieveInstancesIn(const QString &path);
32};
33
34} // namespace Auth
35
36#endif
37

source code of kauth/src/BackendsManager.h