comparison data/fileio/CoreAudioFileReader.h @ 1026:01a90c025eaa coreaudio-metadata

Pending
author Chris Cannam
date Mon, 09 Feb 2015 10:27:21 +0000
parents d03b3d956358
children
comparison
equal deleted inserted replaced
1025:88b54a185a0a 1026:01a90c025eaa
45 virtual ~CoreAudioFileReader(); 45 virtual ~CoreAudioFileReader();
46 46
47 virtual QString getError() const { return m_error; } 47 virtual QString getError() const { return m_error; }
48 virtual QString getLocation() const { return m_source.getLocation(); } 48 virtual QString getLocation() const { return m_source.getLocation(); }
49 virtual QString getTitle() const { return m_title; } 49 virtual QString getTitle() const { return m_title; }
50 virtual QString getMaker() const { return m_maker; }
50 51
51 static void getSupportedExtensions(std::set<QString> &extensions); 52 static void getSupportedExtensions(std::set<QString> &extensions);
52 static bool supportsExtension(QString ext); 53 static bool supportsExtension(QString ext);
53 static bool supportsContentType(QString type); 54 static bool supportsContentType(QString type);
54 static bool supports(FileSource &source); 55 static bool supports(FileSource &source);
65 protected: 66 protected:
66 FileSource m_source; 67 FileSource m_source;
67 QString m_path; 68 QString m_path;
68 QString m_error; 69 QString m_error;
69 QString m_title; 70 QString m_title;
71 QString m_maker;
70 72
71 class D; 73 class D;
72 D *m_d; 74 D *m_d;
73 75
74 ProgressReporter *m_reporter; 76 ProgressReporter *m_reporter;
84 protected: 86 protected:
85 // QuickTimeFileReader *m_reader; 87 // QuickTimeFileReader *m_reader;
86 }; 88 };
87 89
88 DecodeThread *m_decodeThread; 90 DecodeThread *m_decodeThread;
91
92 void readMetadata();
89 }; 93 };
90 94
91 #endif 95 #endif
92 96
93 #endif 97 #endif