Mercurial > hg > svcore
comparison data/model/WaveFileModel.cpp @ 1010:36f79bc5c3d7
Provide access to local filename
author | Chris Cannam |
---|---|
date | Fri, 14 Nov 2014 17:23:38 +0000 |
parents | 9869ea3a93b7 |
children | cc27f35aa75c |
comparison
equal
deleted
inserted
replaced
1009:e369dd281cf2 | 1010:36f79bc5c3d7 |
---|---|
179 | 179 |
180 QString | 180 QString |
181 WaveFileModel::getLocation() const | 181 WaveFileModel::getLocation() const |
182 { | 182 { |
183 if (m_reader) return m_reader->getLocation(); | 183 if (m_reader) return m_reader->getLocation(); |
184 return ""; | |
185 } | |
186 | |
187 QString | |
188 WaveFileModel::getLocalFilename() const | |
189 { | |
190 if (m_reader) return m_reader->getLocalFilename(); | |
184 return ""; | 191 return ""; |
185 } | 192 } |
186 | 193 |
187 int | 194 int |
188 WaveFileModel::getData(int channel, int start, int count, | 195 WaveFileModel::getData(int channel, int start, int count, |