digiKam
dpluginloader_p.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2018-07-30
7  * Description : manager to load external plugins at run-time: private container
8  *
9  * Copyright (C) 2018-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_DPLUGIN_LOADER_P_H
25 #define DIGIKAM_DPLUGIN_LOADER_P_H
26 
27 #include "dpluginloader.h"
28 
29 // Qt includes
30 
31 #include <QDir>
32 #include <QPluginLoader>
33 
34 namespace Digikam
35 {
36 
37 class Q_DECL_HIDDEN DPluginLoader::Private
38 {
39 public:
40 
41  explicit Private();
42  ~Private();
43 
47  QFileInfoList pluginEntriesList() const;
48 
52  void loadPlugins();
53 
57  bool appendPlugin(QObject* const obj,
58  QPluginLoader* const loader);
59 
60 public:
61 
64  QStringList blacklist;
65  QStringList whitelist;
66  QStringList DKBlacklist;
67 };
68 
69 } // namespace Digikam
70 
71 #endif // DIGIKAM_DPLUGIN_LOADER_P_H
Definition: dpluginloader_p.h:38
bool pluginsLoaded
Definition: dpluginloader_p.h:62
QList< DPlugin * > allPlugins
Definition: dpluginloader_p.h:63
QStringList blacklist
Definition: dpluginloader_p.h:64
QStringList DKBlacklist
Showfoto specific plugins to ignore in digiKam.
Definition: dpluginloader_p.h:66
QStringList whitelist
Definition: dpluginloader_p.h:65
The class that handles digiKam's external plugins.
Definition: dpluginloader.h:53
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43