aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/typesystem.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-29 22:08:26 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-09 17:05:15 +0200
commitc1d014d86ebde8f176fecf6e8cc920072cb809c3 (patch)
treeb1fd613489668f8dd513e1e84316d0a2f1de2ad2 /sources/shiboken6/ApiExtractor/typesystem.h
parentf8a891f3d2b833747d575d92de99dfb27396a355 (diff)
shiboken6: Introduce a private attribute
Generate a separate, private module header containing classes marked as "private" in the typesystem. This can be used for classes that are not used in dependent modules and helps to prevent propagation of for example private headers required for them. Task-number: PYSIDE-802 Change-Id: If7f19c152d007c689bf719e13292107dceb802da Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/typesystem.h')
-rw-r--r--sources/shiboken6/ApiExtractor/typesystem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/typesystem.h b/sources/shiboken6/ApiExtractor/typesystem.h
index 7d96c1bfb..abbbcd049 100644
--- a/sources/shiboken6/ApiExtractor/typesystem.h
+++ b/sources/shiboken6/ApiExtractor/typesystem.h
@@ -147,6 +147,9 @@ public:
bool stream() const;
void setStream(bool b);
+ bool isPrivate() const;
+ void setPrivate(bool b);
+
// The type's name in C++, fully qualified
QString name() const;
// C++ excluding inline namespaces