aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/pysideclassinfo_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/libpyside/pysideclassinfo_p.h')
-rw-r--r--sources/pyside6/libpyside/pysideclassinfo_p.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/sources/pyside6/libpyside/pysideclassinfo_p.h b/sources/pyside6/libpyside/pysideclassinfo_p.h
new file mode 100644
index 000000000..4ef456f76
--- /dev/null
+++ b/sources/pyside6/libpyside/pysideclassinfo_p.h
@@ -0,0 +1,43 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#ifndef PYSIDE_CLASSINFO_P_H
+#define PYSIDE_CLASSINFO_P_H
+
+#include <sbkpython.h>
+
+#include "pysideclassdecorator_p.h"
+#include "pysideclassinfo.h"
+
+#include <QtCore/QMetaObject>
+
+struct PySideClassInfo;
+
+extern "C"
+{
+extern PYSIDE_API PyTypeObject *PySideClassInfo_TypeF(void);
+
+} // extern "C"
+
+namespace PySide::ClassInfo {
+
+class ClassInfoPrivate : public PySide::ClassDecorator::DecoratorPrivate
+{
+public:
+ PyObject *tp_call(PyObject *self, PyObject *args, PyObject * /* kw */) override;
+ int tp_init(PyObject *self, PyObject *args, PyObject *kwds) override;
+ const char *name() const override;
+
+ ClassInfoList m_data;
+ bool m_alreadyWrapped = false;
+};
+
+/**
+ * Init PySide QProperty support system
+ */
+void init(PyObject* module);
+
+
+} // namespace PySide::ClassInfo
+
+#endif