diff data/fileio/OggVorbisFileReader.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/OggVorbisFileReader.h	Thu Aug 09 14:40:03 2007 +0000
+++ b/data/fileio/OggVorbisFileReader.h	Thu Aug 09 16:29:29 2007 +0000
@@ -37,15 +37,13 @@
         DecodeThreaded // decode in a background thread after construction
     };
 
-    OggVorbisFileReader(QString path, DecodeMode decodeMode,
+    OggVorbisFileReader(std::string path, DecodeMode decodeMode,
                         CacheMode cacheMode);
     virtual ~OggVorbisFileReader();
 
-    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; }
 
@@ -54,9 +52,8 @@
     }
 
 protected:
-    QString m_path;
-    QString m_error;
-    QString m_title;
+    std::string m_path;
+    std::string m_title;
 
     OGGZ *m_oggz;
     FishSound *m_fishSound;