mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-01 10:06:43 +01:00
Remove support for old imobiledevice uuid, it won't work anyway because
of other changes
This commit is contained in:
parent
b089ba2e04
commit
c8bd89e56f
@ -388,10 +388,6 @@ include_directories(${GLIB_INCLUDE_DIRS})
|
||||
include_directories(${GLIBCONFIG_INCLUDE_DIRS})
|
||||
include_directories(${TAGLIB_INCLUDE_DIRS})
|
||||
|
||||
if(HAVE_IMOBILEDEVICE AND LIBIMOBILEDEVICE_VERSION VERSION_GREATER 1.1.1)
|
||||
set(IMOBILEDEVICE_USES_UDIDS ON)
|
||||
endif()
|
||||
|
||||
# Subdirectories
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(dist)
|
||||
|
@ -40,7 +40,6 @@
|
||||
#cmakedefine HAVE_CHROMAPRINT
|
||||
#cmakedefine HAVE_TAGLIB_DSFFILE
|
||||
#cmakedefine HAVE_GLOBALSHORTCUTS
|
||||
#cmakedefine IMOBILEDEVICE_USES_UDIDS
|
||||
#cmakedefine USE_INSTALL_PREFIX
|
||||
|
||||
#cmakedefine HAVE_GSTREAMER
|
||||
|
@ -43,13 +43,10 @@ bool iLister::Init() {
|
||||
}
|
||||
|
||||
void iLister::EventCallback(const idevice_event_t *event, void *context) {
|
||||
|
||||
iLister *me = reinterpret_cast<iLister*>(context);
|
||||
|
||||
#ifdef IMOBILEDEVICE_USES_UDIDS
|
||||
const char *uuid = event->udid;
|
||||
#else
|
||||
const char *uuid = event->uuid;
|
||||
#endif
|
||||
|
||||
switch (event->event) {
|
||||
case IDEVICE_DEVICE_ADD:
|
||||
|
Loading…
x
Reference in New Issue
Block a user