KDStateMachineEditor API Documentation
1.2
source
src
core
export
abstractexporter.h
1
/*
2
This file is part of the KDAB State Machine Editor Library.
3
4
SPDX-FileCopyrightText: 2014-2021 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5
Author: Kevin Funk <kevin.funk@kdab.com>
6
7
SPDX-License-Identifier: LGPL-2.1-only OR LicenseRef-KDAB-KDStateMachineEditor
8
9
Licensees holding valid commercial KDAB State Machine Editor Library
10
licenses may use this file in accordance with the KDAB State Machine Editor
11
Library License Agreement provided with the Software.
12
13
Contact info@kdab.com if any conditions of this licensing are not clear to you.
14
*/
15
16
#ifndef KDSME_EXPORT_ABSTRACTEXPORTER_H
17
#define KDSME_EXPORT_ABSTRACTEXPORTER_H
18
19
#include "kdsme_core_export.h"
20
21
#include <QScopedPointer>
22
#include <QString>
23
24
namespace
KDSME {
25
26
class
StateMachine;
27
28
class
KDSME_CORE_EXPORT
AbstractExporter
29
{
30
public
:
31
AbstractExporter
();
32
virtual
~
AbstractExporter
();
33
40
virtual
bool
exportMachine
(
StateMachine
* machine) = 0;
41
45
QString
errorString()
const
;
46
47
protected
:
51
void
setErrorString(
const
QString
& errorString);
52
53
private
:
54
struct
Private;
55
QScopedPointer<Private>
d;
56
};
57
58
}
59
60
67
#endif
KDSME::StateMachine
Definition:
state.h:154
QString
QScopedPointer< Private >
KDSME::AbstractExporter
Definition:
abstractexporter.h:29
KDSME::AbstractExporter::exportMachine
virtual bool exportMachine(StateMachine *machine)=0
Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDStateMachineEditor
Create Qt State Machine metacode using a graphical user interface
https://github.com/KDAB/KDStateMachineEditor