diff layer/WaveformLayer.h @ 6:02aaea1ffaf7

* 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 37b110168acf
children 2d5005f2b3d9
line wrap: on
line diff
--- a/layer/WaveformLayer.h	Thu Jan 12 13:45:27 2006 +0000
+++ b/layer/WaveformLayer.h	Thu Jan 12 17:19:08 2006 +0000
@@ -157,6 +157,9 @@
 
     virtual QString getPropertyContainerIconName() const { return "waveform"; }
 
+    virtual QString toXmlString(QString indent = "",
+				QString extraAttributes = "") const;
+
 protected:
     int dBscale(float sample, int m) const;
 
@@ -165,14 +168,14 @@
     /// Return value is number of channels displayed
     size_t getChannelArrangement(size_t &min, size_t &max, bool &merging) const;
 
-    float m_gain;
-    QColor m_colour;
-    bool m_showMeans;
-    bool m_greyscale;
-    ChannelMode m_channelMode;
-    int m_channel;
-    Scale m_scale;
-    bool m_aggressive;
+    float        m_gain;
+    QColor       m_colour;
+    bool         m_showMeans;
+    bool         m_greyscale;
+    ChannelMode  m_channelMode;
+    int          m_channel;
+    Scale        m_scale;
+    bool         m_aggressive;
 
     mutable QPixmap *m_cache;
     mutable bool m_cacheValid;