KDStateMachineEditor  1.0.0
A framework for creating Qt State Machine metacode using a graphical user interface
scxmlexporter.h
1 /*
2  scxmlexporter.h
3 
4  This file is part of the KDAB State Machine Editor Library.
5 
6  Copyright (C) 2014-2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com.
7  All rights reserved.
8  Author: Kevin Funk <kevin.funk@kdab.com>
9 
10  Licensees holding valid commercial KDAB State Machine Editor Library
11  licenses may use this file in accordance with the KDAB State Machine Editor
12  Library License Agreement provided with the Software.
13 
14  This file may be distributed and/or modified under the terms of the
15  GNU Lesser General Public License version 2.1 as published by the
16  Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
17 
18  This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19  WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 
21  Contact info@kdab.com if any conditions of this licensing are not
22  clear to you.
23 */
24 
25 #ifndef KDSME_EXPORT_SCXMLEXPORTER_H
26 #define KDSME_EXPORT_SCXMLEXPORTER_H
27 
28 #include "abstractexporter.h"
29 
30 class QByteArray;
31 class QIODevice;
32 
33 namespace KDSME {
34 
35 class StateMachine;
36 
37 class KDSME_CORE_EXPORT ScxmlExporter : public AbstractExporter
38 {
39 public:
40  explicit ScxmlExporter(QByteArray* array);
41  explicit ScxmlExporter(QIODevice* device);
42  virtual ~ScxmlExporter();
43 
49  virtual bool exportMachine(StateMachine* machine) override;
50 
51 private:
52  struct Private;
53  QScopedPointer<Private> d;
54 };
55 
56 }
57 
58 #endif // SCXMLEXPORT_H
Definition: state.h:160
Definition: abstractexporter.h:37
Definition: scxmlexporter.h:37
Definition: abstractexporter.h:33

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
https://github.com/KDAB/KDStateMachineEditor