Add iLister and AFC device

This commit is contained in:
Jonas Kvinge 2019-01-24 19:10:42 +01:00
parent ce4be75803
commit 85eba24167
1 changed files with 7 additions and 0 deletions

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() {