summaryrefslogtreecommitdiffstats
path: root/src/qdoc/qdoc/src/qdoc/docutilities.h
blob: d4483ac739f522a7a827dd1e3a55886213d30555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef DOCUTILITIES_H
#define DOCUTILITIES_H

#include "macro.h"
#include "singleton.h"

#include <QtCore/qglobal.h>
#include <QtCore/qhash.h>
#include <QtCore/qstring.h>
#include <QtCore/qmap.h>

QT_BEGIN_NAMESPACE

typedef QHash<QString, int> QHash_QString_int;
typedef QHash<QString, Macro> QHash_QString_Macro;

struct DocUtilities : public Singleton<DocUtilities>
{
public:
    QHash_QString_int cmdHash;
    QHash_QString_Macro macroHash;
};

QT_END_NAMESPACE

#endif // DOCUTILITIES_H