pysideqmlattached_p.h 572 B

123456789101112131415161718192021
  1. // Copyright (C) 2022 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. #ifndef PYSIDEQMLATTACHED_P_H
  4. #define PYSIDEQMLATTACHED_P_H
  5. #include <sbkpython.h>
  6. #include <memory>
  7. namespace PySide::Qml {
  8. struct QmlExtensionInfo;
  9. struct QmlTypeInfo;
  10. void initQmlAttached(PyObject *module);
  11. PySide::Qml::QmlExtensionInfo qmlAttachedInfo(PyTypeObject *t,
  12. const std::shared_ptr<QmlTypeInfo> &info);
  13. } // namespace PySide::Qml
  14. #endif // PYSIDEQMLATTACHED_P_H