summaryrefslogtreecommitdiffstats
path: root/src/idevice.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-06-07 12:09:24 +0200
committerGravatar Nikias Bassen2025-06-07 12:09:24 +0200
commite3f2d6070de7125058c343ef63961c27bc991bb6 (patch)
tree2436f76213b34ba2e06db96a990a6f0e17106e6e /src/idevice.h
parent2e1ee28bf1d744edcf3513859a38ac5f6615b096 (diff)
downloadlibimobiledevice-e3f2d6070de7125058c343ef63961c27bc991bb6.tar.gz
libimobiledevice-e3f2d6070de7125058c343ef63961c27bc991bb6.tar.bz2
Add new idevice_get_device_version() to interface
This allows getting a numerical representation of the device's ProductVersion string for easier version range checks
Diffstat (limited to 'src/idevice.h')
-rw-r--r--src/idevice.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/idevice.h b/src/idevice.h
index dd72f9d..e05338e 100644
--- a/src/idevice.h
+++ b/src/idevice.h
@@ -52,8 +52,6 @@
#include "common/userpref.h"
#include "libimobiledevice/libimobiledevice.h"
-#define DEVICE_VERSION(maj, min, patch) (((maj & 0xFF) << 16) | ((min & 0xFF) << 8) | (patch & 0xFF))
-
#define DEVICE_CLASS_IPHONE 1
#define DEVICE_CLASS_IPAD 2
#define DEVICE_CLASS_IPOD 3