diff data/model/Model.h @ 333:1afaf98dbf11

* Factor out uses of "Sonic Visualiser" in "common" code to applicationName() * Add ability to show work title + artist in top-left of pane (thinking of Vect but may be useful in SV in future) * A few other generalisations useful for Vect
author Chris Cannam
date Fri, 09 Nov 2007 17:46:58 +0000
parents 3ff8f571da09
children 700cd3350391
line wrap: on
line diff
--- a/data/model/Model.h	Wed Nov 07 14:53:12 2007 +0000
+++ b/data/model/Model.h	Fri Nov 09 17:46:58 2007 +0000
@@ -67,6 +67,16 @@
     virtual size_t getNativeRate() const { return getSampleRate(); }
 
     /**
+     * Return the "work title" of the model, if known.
+     */
+    virtual QString getTitle() const;
+
+    /**
+     * Return the "artist" or "maker" of the model, if known.
+     */
+    virtual QString getMaker() const;
+
+    /**
      * Return a copy of this model.
      *
      * If the model is not editable, this may be effectively a shallow