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

#ifndef CONFIGURABLETYPEENTRY_H
#define CONFIGURABLETYPEENTRY_H

#include "typesystem.h"

class ConfigurableTypeEntryPrivate;

class ConfigurableTypeEntry : public TypeEntry
{
public:
    explicit ConfigurableTypeEntry(const QString &entryName, Type t,
                                   const QVersionNumber &vr,
                                   const TypeEntryCPtr &parent);

    TypeEntry *clone() const override;

    QString configCondition() const;
    void setConfigCondition(const QString &c);
    bool hasConfigCondition() const;

protected:
    explicit ConfigurableTypeEntry(ConfigurableTypeEntryPrivate *d);
};

#endif // CONFIGURABLETYPEENTRY_H