KAuth

BackendsManager.h
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
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.