diff base/PlayParameters.h @ 81:f277a171749d

* Pull out temporary directory management into its own class * Make sure playback plugins get a default sample path in their original play parameters configuration * Save play parameters to .sv file (we aren't reloading yet though)
author Chris Cannam
date Tue, 25 Apr 2006 22:14:43 +0000
parents 7439f1696314
children 41d64b873d87
line wrap: on
line diff
--- a/base/PlayParameters.h	Mon Apr 24 17:06:32 2006 +0000
+++ b/base/PlayParameters.h	Tue Apr 25 22:14:43 2006 +0000
@@ -18,7 +18,9 @@
 
 #include <QObject>
 
-class PlayParameters : public QObject
+#include "XmlExportable.h"
+
+class PlayParameters : public QObject, public XmlExportable
 {
     Q_OBJECT
 
@@ -32,6 +34,9 @@
     virtual QString getPlayPluginId() const { return m_playPluginId; } 
     virtual QString getPlayPluginConfiguration() const { return m_playPluginConfiguration; }
 
+    virtual QString toXmlString(QString indent = "",
+                                QString extraAttributes = "") const;
+
 public slots:
     virtual void setPlayMuted(bool muted);
     virtual void setPlayAudible(bool nonMuted);