diff data/fileio/FileSource.h @ 711:45e3ba1d5a1f library_integration

Merge from the default branch
author Chris Cannam
date Tue, 11 Oct 2011 11:14:38 +0100
parents 579b2da21e7a
children 3b2409646cc0
line wrap: on
line diff
--- a/data/fileio/FileSource.h	Mon Oct 10 17:27:08 2011 +0100
+++ b/data/fileio/FileSource.h	Tue Oct 11 11:14:38 2011 +0100
@@ -124,6 +124,11 @@
     bool isDone() const;
 
     /**
+     * Return true if this FileSource is referring to a QRC resource.
+     */
+    bool isResource() const;
+
+    /**
      * Return true if this FileSource is referring to a remote URL.
      */
     bool isRemote() const;
@@ -225,6 +230,7 @@
     QString m_preferredContentType;
     bool m_ok;
     int m_lastStatus;
+    bool m_resource;
     bool m_remote;
     bool m_done;
     bool m_leaveLocalFile;