summaryrefslogtreecommitdiffstats
path: root/examples/scxml/mediaplayer/mediaplayer-qml.h
blob: 9d036b718f71aa18ae47bf9c3134b66686c57cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#ifndef MEDIAPLAYER_QML
#define MEDIAPLAYER_QML

#include "mediaplayer.h"

#include <QtQml/qqml.h>
#include <QtCore/qobject.h>

struct MediaPlayerStateMachineRegistration
{
    Q_GADGET
    QML_FOREIGN(MediaPlayerStateMachine)
    QML_NAMED_ELEMENT(MediaPlayerStateMachine)
    QML_ADDED_IN_VERSION(1, 0)
};

#endif // MEDIAPLAYER_QML