| 1 | /* |
| 2 | This file is part of the KDE project |
| 3 | |
| 4 | SPDX-FileCopyrightText: 2007 Matthias Kretz <kretz@kde.org> |
| 5 | SPDX-FileCopyrightText: 2007 Bernhard Loos <nhuh.put@web.de> |
| 6 | SPDX-FileCopyrightText: 2023 Alexander Lohnau <alexander.lohnau@gmx.de> |
| 7 | |
| 8 | SPDX-License-Identifier: LGPL-2.0-or-later |
| 9 | */ |
| 10 | |
| 11 | #ifndef KPLUGINFACTORY_P_H |
| 12 | #define KPLUGINFACTORY_P_H |
| 13 | |
| 14 | #include "kpluginfactory.h" |
| 15 | #include <KPluginMetaData> |
| 16 | |
| 17 | class KPluginFactoryPrivate |
| 18 | { |
| 19 | public: |
| 20 | using PluginWithMetadata = QPair<const QMetaObject *, KPluginFactory::CreateInstanceWithMetaDataFunction>; |
| 21 | KPluginMetaData metaData; |
| 22 | std::vector<PluginWithMetadata> createInstanceWithMetaDataHash; |
| 23 | }; |
| 24 | |
| 25 | #endif // KPLUGINFACTORY_P_H |
| 26 | |