comparison base/XmlExportable.h @ 3:581f67f370f3

* Beginnings of session save code * Add spline curve mode to time value layer
author Chris Cannam
date Thu, 12 Jan 2006 17:19:08 +0000
parents
children 149bb02a41ba
comparison
equal deleted inserted replaced
2:d86891498eef 3:581f67f370f3
1 /* -*- c-basic-offset: 4 -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 A waveform viewer and audio annotation editor.
5 Chris Cannam, Queen Mary University of London, 2005-2006
6
7 This is experimental software. Not for distribution.
8 */
9
10 #ifndef _XML_EXPORTABLE_H_
11 #define _XML_EXPORTABLE_H_
12
13 #include <QString>
14 #include <QColor>
15
16 class XmlExportable
17 {
18 public:
19 virtual QString toXmlString(QString indent = "",
20 QString extraAttributes = "") const = 0;
21
22 static QString encodeEntities(QString);
23
24 static QString encodeColour(QColor);
25 };
26
27 #endif