blob: bd69058d257623146c7d21da0468536ea2a5feff (
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
29
30
|
// 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 TYPESYSTEMTYPEENTRY_H
#define TYPESYSTEMTYPEENTRY_H
#include "typesystem.h"
#include "typesystem_enums.h"
#include "typesystem_typedefs.h"
class TypeSystemTypeEntry : public TypeEntry
{
public:
explicit TypeSystemTypeEntry(const QString &entryName, const QVersionNumber &vr,
const TypeEntryCPtr &parent);
TypeEntry *clone() const override;
TypeSystem::SnakeCase snakeCase() const;
void setSnakeCase(TypeSystem::SnakeCase sc);
const CodeSnipList &codeSnips() const;
CodeSnipList &codeSnips();
void addCodeSnip(const CodeSnip &codeSnip);
protected:
explicit TypeSystemTypeEntry(TypeEntryPrivate *d);
};
#endif // TYPESYSTEMTYPEENTRY_H
|