aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/dependency.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/dependency.h')
-rw-r--r--sources/shiboken6/ApiExtractor/dependency.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/dependency.h b/sources/shiboken6/ApiExtractor/dependency.h
new file mode 100644
index 000000000..aa280de03
--- /dev/null
+++ b/sources/shiboken6/ApiExtractor/dependency.h
@@ -0,0 +1,22 @@
+// Copyright (C) 2017 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+#ifndef DEPENDENCY_H
+#define DEPENDENCY_H
+
+#include <QtCore/QList>
+
+#include <utility>
+
+// Dependencies for topologically sorting classes
+
+class AbstractMetaClass;
+
+struct Dependency {
+ AbstractMetaClassPtr parent;
+ AbstractMetaClassPtr child;
+};
+
+using Dependencies = QList<Dependency>;
+
+#endif // DEPENDENCY_H