diff base/ResourceFinder.h @ 680:27cdabba2d3e

Better system-specific unbundle locations for ResourceFinder; use same location for TempDirectory
author Chris Cannam
date Mon, 09 May 2011 16:58:24 +0100
parents c8badbd4c005
children 6097aacd7ba3
line wrap: on
line diff
--- a/base/ResourceFinder.h	Wed May 04 14:05:08 2011 +0100
+++ b/base/ResourceFinder.h	Mon May 09 16:58:24 2011 +0100
@@ -106,9 +106,26 @@
      */
     bool unbundleResource(QString resourceCat, QString fileName);
 
-protected:
+    /**
+     * Return the root path for user-specific resource installation
+     * for this application (i.e. resources beneath the user's home
+     * directory).
+     */
     QString getUserResourcePrefix();
+
+    /**
+     * Return the root paths for systemwide resource installations for
+     * this application.
+     */
     QStringList getSystemResourcePrefixList();
+
+    /**
+     * Return all root paths for resource installations for this
+     * application, in the order in which they will be searched.  This
+     * list consists of the user-specific path
+     * (getUserResourcePrefix()) followed by the systemwide paths
+     * (getSystemResourcePrefixList()).
+     */
     QStringList getResourcePrefixList();
 };