diff data/model/DenseTimeValueModel.h @ 391:5858cc462d0a

* Fix #1628781 changes to layer visibility and mute should use a command * Also use a command for changes to layer playback pan, gain, plugin settings * Refactor PlayParameterRepository to remove dependency on audioio from base * Fix failure to save play parameters for main model in session file
author Chris Cannam
date Thu, 13 Mar 2008 14:06:03 +0000
parents 0e30c8ec15a0
children 33fca917c800
line wrap: on
line diff
--- a/data/model/DenseTimeValueModel.h	Thu Mar 13 12:41:20 2008 +0000
+++ b/data/model/DenseTimeValueModel.h	Thu Mar 13 14:06:03 2008 +0000
@@ -32,6 +32,8 @@
 public:
     DenseTimeValueModel();
 
+    virtual ~DenseTimeValueModel();
+
     /**
      * Return the minimum possible value found in this model type.
      * (That is, the minimum that would be valid, not the minimum
@@ -80,6 +82,10 @@
                            size_t start, size_t count,
                            float **buffers) const = 0;
 
+    virtual bool canPlay() const { return true; }
+    virtual QString getDefaultPlayPluginId() const { return ""; }
+    virtual QString getDefaultPlayPluginConfiguration() const { return ""; }
+
     QString getTypeName() const { return tr("Dense Time-Value"); }
 };