summaryrefslogtreecommitdiffstats
path: root/examples/scxml/trafficlight-qml-static/trafficlight-qml.h
blob: ac309bdfa1a777d4f1a40aac8553ddf75b3def27 (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 TRAFFICLIGHT_QML
#define TRAFFICLIGHT_QML

#include "statemachine.h"

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

struct TrafficLightStateMachineRegistration
{
    Q_GADGET
    QML_FOREIGN(TrafficLightStateMachine)
    QML_NAMED_ELEMENT(TrafficLightStateMachine)
    QML_ADDED_IN_VERSION(1, 0)
};

#endif // TRAFFICLIGHT_QML