diff options
Diffstat (limited to 'src/scxml/qscxmldatamodelplugin_p.h')
-rw-r--r-- | src/scxml/qscxmldatamodelplugin_p.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/scxml/qscxmldatamodelplugin_p.h b/src/scxml/qscxmldatamodelplugin_p.h new file mode 100644 index 0000000..be00ea9 --- /dev/null +++ b/src/scxml/qscxmldatamodelplugin_p.h @@ -0,0 +1,36 @@ +// Copyright (C) 2021 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 QSCXMLDATAMODELPLUGIN_P_H +#define QSCXMLDATAMODELPLUGIN_P_H + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + +#include <QtScxml/private/qscxmlglobals_p.h> +#include <QtScxml/qscxmldatamodel.h> +#include <QtCore/qobject.h> + +QT_BEGIN_NAMESPACE + +#define QScxmlDataModelPluginInterface_iid "org.qt-project.qt.scxml.datamodel.plugin" + +class Q_SCXML_EXPORT QScxmlDataModelPlugin : public QObject +{ + Q_OBJECT +public: + virtual QScxmlDataModel *createScxmlDataModel() const; +}; + +Q_DECLARE_INTERFACE(QScxmlDataModelPlugin, QScxmlDataModelPluginInterface_iid) +QT_END_NAMESPACE + +#endif // QSCXMLDATAMODELPLUGIN_P_H |