From 3db95b0c9cea0662d9af6b2445746c822599027b Mon Sep 17 00:00:00 2001 From: John Maguire Date: Sun, 29 Aug 2010 14:49:54 +0000 Subject: [PATCH] Add ipod supported file types. --- src/devices/gpoddevice.cpp | 6 ++++++ src/devices/gpoddevice.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/devices/gpoddevice.cpp b/src/devices/gpoddevice.cpp index 5f2e44109..ada4082f8 100644 --- a/src/devices/gpoddevice.cpp +++ b/src/devices/gpoddevice.cpp @@ -220,3 +220,9 @@ void GPodDevice::FinishDelete(bool success) { ConnectedDevice::FinishDelete(success); } +QList GPodDevice::SupportedFiletypes() { + QList ret; + ret << Song::Type_Mp4; + ret << Song::Type_Mpeg; + return ret; +} diff --git a/src/devices/gpoddevice.h b/src/devices/gpoddevice.h index 20a65076d..fe20334b7 100644 --- a/src/devices/gpoddevice.h +++ b/src/devices/gpoddevice.h @@ -41,6 +41,8 @@ public: static QStringList url_schemes() { return QStringList() << "ipod"; } + QList SupportedFiletypes(); + void StartCopy(); bool CopyToStorage(const CopyJob& job); void FinishCopy(bool success);