diff data/fileio/MP3FileReader.h @ 285:20028c634494

* change some QStrings to std::strings etc
author Chris Cannam
date Thu, 09 Aug 2007 16:29:29 +0000
parents 822bd7fd526c
children 92e8dbde73cd
line wrap: on
line diff
--- a/data/fileio/MP3FileReader.h	Thu Aug 09 14:40:03 2007 +0000
+++ b/data/fileio/MP3FileReader.h	Thu Aug 09 16:29:29 2007 +0000
@@ -35,14 +35,12 @@
         DecodeThreaded // decode in a background thread after construction
     };
 
-    MP3FileReader(QString path, DecodeMode decodeMode, CacheMode cacheMode);
+    MP3FileReader(std::string path, DecodeMode decodeMode, CacheMode cacheMode);
     virtual ~MP3FileReader();
 
-    virtual QString getError() const { return m_error; }
-
-    virtual QString getTitle() const { return m_title; }
+    virtual std::string getTitle() const { return m_title; }
     
-    static void getSupportedExtensions(std::set<QString> &extensions);
+    static void getSupportedExtensions(std::set<std::string> &extensions);
     
     virtual int getDecodeCompletion() const { return m_completion; }
 
@@ -51,9 +49,8 @@
     }
 
 protected:
-    QString m_path;
-    QString m_error;
-    QString m_title;
+    std::string m_path;
+    std::string m_title;
     size_t m_fileSize;
     double m_bitrateNum;
     size_t m_bitrateDenom;