changeset 396:9d70f577d6f5

...
author Chris Cannam
date Wed, 19 Mar 2008 20:23:26 +0000
parents bf1311518f80
children 78491f21061d
files base/ViewManagerBase.h base/base.pro transform/Transform.cpp
diffstat 3 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/base/ViewManagerBase.h	Wed Mar 19 11:20:18 2008 +0000
+++ b/base/ViewManagerBase.h	Wed Mar 19 20:23:26 2008 +0000
@@ -33,6 +33,8 @@
     Q_OBJECT
 
 public:
+    virtual ~ViewManagerBase();
+
     virtual void setAudioPlaySource(AudioPlaySource *source) = 0;
 
     virtual size_t alignPlaybackFrameToReference(size_t) const = 0;
--- a/base/base.pro	Wed Mar 19 11:20:18 2008 +0000
+++ b/base/base.pro	Wed Mar 19 20:23:26 2008 +0000
@@ -69,4 +69,5 @@
            TempDirectory.cpp \
            Thread.cpp \
            UnitDatabase.cpp \
+           ViewManagerBase.cpp \
            XmlExportable.cpp
--- a/transform/Transform.cpp	Wed Mar 19 11:20:18 2008 +0000
+++ b/transform/Transform.cpp	Wed Mar 19 20:23:26 2008 +0000
@@ -340,7 +340,7 @@
     bool haveContent = true;
     if (m_parameters.empty() && m_configuration.empty()) haveContent = false;
 
-    out << QString("<transform id=\"%1\" pluginVersion=\"%2\" program=\"%3\" stepSize=\"%4\" blockSize=\"%5\" windowType=\"%6\" startTime=\"%7\" duration=\"%8\" sampleRate=\"%9\"")
+    out << QString("<transform\n    id=\"%1\"\n    pluginVersion=\"%2\"\n    program=\"%3\"\n    stepSize=\"%4\"\n    blockSize=\"%5\"\n    windowType=\"%6\"\n    startTime=\"%7\"\n    duration=\"%8\"\n    sampleRate=\"%9\"")
         .arg(encodeEntities(m_id))
         .arg(encodeEntities(m_pluginVersion))
         .arg(encodeEntities(m_program))