diff options
Diffstat (limited to 'sources/shiboken6/ApiExtractor/arraytypeentry.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/arraytypeentry.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/arraytypeentry.h b/sources/shiboken6/ApiExtractor/arraytypeentry.h new file mode 100644 index 000000000..5b9bb191e --- /dev/null +++ b/sources/shiboken6/ApiExtractor/arraytypeentry.h @@ -0,0 +1,28 @@ +// 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 ARRAYTYPEENTRY_H +#define ARRAYTYPEENTRY_H + +#include "typesystem.h" + +class ArrayTypeEntryPrivate; + +class ArrayTypeEntry : public TypeEntry +{ +public: + explicit ArrayTypeEntry(const TypeEntryCPtr &nested_type, const QVersionNumber &vr, + const TypeEntryCPtr &parent); + + void setNestedTypeEntry(const TypeEntryPtr &nested); + TypeEntryCPtr nestedTypeEntry() const; + + TypeEntry *clone() const override; + +protected: + explicit ArrayTypeEntry(ArrayTypeEntryPrivate *d); + + QString buildTargetLangName() const override; +}; + +#endif // ARRAYTYPEENTRY_H |