KAuth

BackendsManager.h
1 /*
2  SPDX-FileCopyrightText: 2008 Nicola Gigante <[email protected]>
3  SPDX-FileCopyrightText: 2009 Dario Freddi <[email protected]>
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 
15 namespace KAuth
16 {
17 class KAUTHCORE_EXPORT BackendsManager
18 {
19  static AuthBackend *auth;
20  static HelperProxy *helper;
21 
22  BackendsManager();
23 
24 public:
25  static AuthBackend *authBackend();
26  static HelperProxy *helperProxy();
27 
28 private:
29  static void init();
30  static QList<QObject *> retrieveInstancesIn(const QString &path);
31 };
32 
33 } // namespace Auth
34 
35 #endif
QCA_EXPORT void init()
Definition: action.cpp:18
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 6 2023 04:14:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.