File indexing completed on 2024-04-21 04:56:32

0001 /*
0002  *  SPDX-FileCopyrightText: 2015 Martin Klapetek <mklapetek@kde.org>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef UIPLUGINSMANAGER_H
0008 #define UIPLUGINSMANAGER_H
0009 
0010 #include <QList>
0011 
0012 namespace KAccounts
0013 {
0014 class KAccountsUiPlugin;
0015 class UiPluginsManager
0016 {
0017 public:
0018     static QList<KAccountsUiPlugin *> uiPlugins();
0019     static KAccountsUiPlugin *pluginForService(const QString &service);
0020     static KAccountsUiPlugin *pluginForName(const QString &name);
0021 };
0022 
0023 };
0024 
0025 #endif // UIPLUGINSMANAGER_H