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:
parent
ce4be75803
commit
85eba24167
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user