aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/typedatabase_p.h
blob: fc56c79613ac0a28d2b40c5838f8e46262498bca (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
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef TYPEDATABASE_P_H
#define TYPEDATABASE_P_H

#include "typesystem_typedefs.h"
#include "containertypeentry.h"

#include <QtCore/QHash>
#include <QtCore/QString>

class TypeDatabase;

struct TypeDatabaseParserContext
{
    using SmartPointerInstantiations = QHash<SmartPointerTypeEntryPtr, QString>;
    using OpaqueContainerHash = QHash<QString, OpaqueContainers>;

    TypeDatabase *db;
    SmartPointerInstantiations smartPointerInstantiations;
    OpaqueContainerHash opaqueContainerHash;
};

#endif // TYPEDATABASE_P_H