Add iLister and AFC device
This commit is contained in:
@@ -131,6 +131,9 @@ DeviceManager::DeviceManager(Application *app, QObject *parent)
|
|||||||
#if defined(Q_OS_MACOS) and defined(HAVE_LIBMTP)
|
#if defined(Q_OS_MACOS) and defined(HAVE_LIBMTP)
|
||||||
AddLister(new MacOsDeviceLister);
|
AddLister(new MacOsDeviceLister);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_IMOBILEDEVICE
|
||||||
|
AddLister(new iLister);
|
||||||
|
#endif
|
||||||
|
|
||||||
AddDeviceClass<FilesystemDevice>();
|
AddDeviceClass<FilesystemDevice>();
|
||||||
|
|
||||||
@@ -146,6 +149,10 @@ DeviceManager::DeviceManager(Application *app, QObject *parent)
|
|||||||
AddDeviceClass<MtpDevice>();
|
AddDeviceClass<MtpDevice>();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_IMOBILEDEVICE
|
||||||
|
AddDeviceClass<AfcDevice>();
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DeviceManager::~DeviceManager() {
|
DeviceManager::~DeviceManager() {
|
||||||
|
|||||||
Reference in New Issue
Block a user