| 1 | // Copyright (C) 2020 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 |
| 3 | #ifndef MACRO_H |
| 4 | #define MACRO_H |
| 5 | |
| 6 | #include "location.h" |
| 7 | |
| 8 | #include <QtCore/qmap.h> |
| 9 | #include <QtCore/qstring.h> |
| 10 | |
| 11 | QT_BEGIN_NAMESPACE |
| 12 | |
| 13 | /*! |
| 14 | * Simple structure used by the Doc and DocParser classes. |
| 15 | */ |
| 16 | struct Macro |
| 17 | { |
| 18 | public: |
| 19 | QString m_defaultDef {}; |
| 20 | Location m_defaultDefLocation {}; |
| 21 | QMap<QString, QString> m_otherDefs {}; |
| 22 | int numParams {}; |
| 23 | }; |
| 24 | |
| 25 | QT_END_NAMESPACE |
| 26 | |
| 27 | #endif // MACRO_H |
| 28 | |