1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-19 03:53:23 +01:00

Add iLister and AFC device

This commit is contained in:
Jonas Kvinge 2019-01-24 19:10:42 +01:00
parent ce4be75803
commit 85eba24167

View File

@ -131,6 +131,9 @@ DeviceManager::DeviceManager(Application *app, QObject *parent)
#if defined(Q_OS_MACOS) and defined(HAVE_LIBMTP)
AddLister(new MacOsDeviceLister);
#endif
#ifdef HAVE_IMOBILEDEVICE
AddLister(new iLister);
#endif
AddDeviceClass<FilesystemDevice>();
@ -146,6 +149,10 @@ DeviceManager::DeviceManager(Application *app, QObject *parent)
AddDeviceClass<MtpDevice>();
#endif
#ifdef HAVE_IMOBILEDEVICE
AddDeviceClass<AfcDevice>();
#endif
}
DeviceManager::~DeviceManager() {