summaryrefslogtreecommitdiffstats
path: root/examples/scxml/invoke/invoke-qml.h
blob: e0735a8f97d6f4796136335b5b3f92489e9a3c8b (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 INVOKE_QML
#define INVOKE_QML

#include "statemachine.h"

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

struct DirectionsStateMachineRegistration
{
    Q_GADGET
    QML_FOREIGN(DirectionsStateMachine)
    QML_NAMED_ELEMENT(DirectionsStateMachine)
    QML_ADDED_IN_VERSION(1, 0)
};

#endif // INVOKE_QML