diff base/Preferences.h @ 277:3b8008d09541

* Add a colour database, and Add New Colour function to the colour combo in property box. The colour property is only correctly handled in the waveform layer so far. * Add en_GB translation, to translate those annoying Color texts in the Qt colour picker dialog.
author Chris Cannam
date Wed, 11 Jul 2007 17:21:37 +0000
parents d7eeffbb8aaf
children c022976d18e8
line wrap: on
line diff
--- a/base/Preferences.h	Thu Jul 05 11:07:01 2007 +0000
+++ b/base/Preferences.h	Wed Jul 11 17:21:37 2007 +0000
@@ -54,6 +54,8 @@
     };
     PropertyBoxLayout getPropertyBoxLayout() const { return m_propertyBoxLayout; }
 
+    bool getOmitTempsFromRecentFiles() const { return m_omitRecentTemps; }
+
 public slots:
     virtual void setProperty(const PropertyName &, int);
 
@@ -62,6 +64,7 @@
     void setPropertyBoxLayout(PropertyBoxLayout layout);
     void setWindowType(WindowType type);
     void setResampleQuality(int quality);
+    void setOmitTempsFromRecentFiles(bool omit);
 
 private:
     Preferences(); // may throw DirectoryCreationFailed
@@ -74,6 +77,7 @@
     PropertyBoxLayout m_propertyBoxLayout;
     WindowType m_windowType;
     int m_resampleQuality;
+    bool m_omitRecentTemps;
 };
 
 #endif