diff data/model/Model.h @ 384:6f6ab834449d spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 1afaf98dbf11
children 5858cc462d0a
line wrap: on
line diff
--- a/data/model/Model.h	Thu Nov 15 14:03:56 2007 +0000
+++ b/data/model/Model.h	Wed Feb 27 11:59:42 2008 +0000
@@ -77,6 +77,18 @@
     virtual QString getMaker() const;
 
     /**
+     * Return the location of the data in this model (e.g. source
+     * URL).  This should not normally be returned for editable models
+     * that have been edited.
+     */
+    virtual QString getLocation() const;
+
+    /**
+     * Return the type of the model.  For display purposes only.
+     */
+    virtual QString getTypeName() const = 0;
+
+    /**
      * Return a copy of this model.
      *
      * If the model is not editable, this may be effectively a shallow