1 | // Copyright (C) 2016 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef QFACTORYINTERFACE_H |
5 | #define QFACTORYINTERFACE_H |
6 | |
7 | #include <QtCore/qobject.h> |
8 | #include <QtCore/qstringlist.h> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | struct Q_CORE_EXPORT QFactoryInterface |
13 | { |
14 | virtual ~QFactoryInterface(); |
15 | virtual QStringList keys() const = 0; |
16 | }; |
17 | |
18 | #ifndef Q_QDOC |
19 | Q_DECLARE_INTERFACE(QFactoryInterface, "org.qt-project.Qt.QFactoryInterface" ) |
20 | #endif |
21 | |
22 | QT_END_NAMESPACE |
23 | |
24 | #endif // QFACTORYINTERFACE_H |
25 | |