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 DOCUTILITIES_H |
4 | #define DOCUTILITIES_H |
5 | |
6 | #include "macro.h" |
7 | #include "singleton.h" |
8 | |
9 | #include <QtCore/qglobal.h> |
10 | #include <QtCore/qhash.h> |
11 | #include <QtCore/qstring.h> |
12 | #include <QtCore/qmap.h> |
13 | |
14 | QT_BEGIN_NAMESPACE |
15 | |
16 | typedef QHash<QString, int> QHash_QString_int; |
17 | typedef QHash<QString, Macro> QHash_QString_Macro; |
18 | |
19 | struct DocUtilities : public Singleton<DocUtilities> |
20 | { |
21 | public: |
22 | QHash_QString_int cmdHash; |
23 | QHash_QString_Macro macroHash; |
24 | }; |
25 | |
26 | QT_END_NAMESPACE |
27 | |
28 | #endif // DOCUTILITIES_H |
29 |