diff base/Layer.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 d86891498eef
children 44bbf5793d84
line wrap: on
line diff
--- a/base/Layer.h	Thu Jan 12 13:45:27 2006 +0000
+++ b/base/Layer.h	Thu Jan 12 17:19:08 2006 +0000
@@ -12,6 +12,7 @@
 #define _VIEWER_H_
 
 #include "PropertyContainer.h"
+#include "XmlExportable.h"
 
 #include <QObject>
 #include <QRect>
@@ -28,7 +29,8 @@
  */
 
 class Layer : public QObject,
-	      public PropertyContainer
+	      public PropertyContainer,
+	      public XmlExportable
 {
     Q_OBJECT
 
@@ -86,6 +88,9 @@
 
     virtual void setObjectName(const QString &name);
 
+    virtual QString toXmlString(QString indent = "",
+				QString extraAttributes = "") const;
+
 signals:
     void modelChanged();
     void modelCompletionChanged();