1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-01 20:38:06 +01:00

Add ipod supported file types.

This commit is contained in:
John Maguire 2010-08-29 14:49:54 +00:00
parent 3e1e880c19
commit 3db95b0c9c
2 changed files with 8 additions and 0 deletions

View File

@ -220,3 +220,9 @@ void GPodDevice::FinishDelete(bool success) {
ConnectedDevice::FinishDelete(success); ConnectedDevice::FinishDelete(success);
} }
QList<Song::FileType> GPodDevice::SupportedFiletypes() {
QList<Song::FileType> ret;
ret << Song::Type_Mp4;
ret << Song::Type_Mpeg;
return ret;
}

View File

@ -41,6 +41,8 @@ public:
static QStringList url_schemes() { return QStringList() << "ipod"; } static QStringList url_schemes() { return QStringList() << "ipod"; }
QList<Song::FileType> SupportedFiletypes();
void StartCopy(); void StartCopy();
bool CopyToStorage(const CopyJob& job); bool CopyToStorage(const CopyJob& job);
void FinishCopy(bool success); void FinishCopy(bool success);