From 379c4f558a6baf0bb250b8e7900c22ea243577f5 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sat, 18 Dec 2010 17:09:37 +0100 Subject: Add iPod Touch 4G to device list --- src/device.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/device.c b/src/device.c index fbb3ecb..11aecc3 100644 --- a/src/device.c +++ b/src/device.c @@ -312,15 +312,16 @@ gboolean device_get_info(const char *uuid, device_info_t *device_info, GError ** lockdownd_get_value(client, NULL, "ProductType", &node); if (node) { char *devtype = NULL; - const char *devtypes[8][2] = { + const char *devtypes[9][2] = { {"iPhone1,1", "iPhone"}, {"iPhone1,2", "iPhone 3G"}, {"iPhone2,1", "iPhone 3GS"}, {"iPhone3,1", "iPhone 4"}, {"iPad1,1", "iPad"}, {"iPod1,1", "iPod Touch"}, - {"iPod2,1", "iPod touch (2G)"}, - {"iPod3,1", "iPod Touch (3G)"} + {"iPod2,1", "iPod Touch (2G)"}, + {"iPod3,1", "iPod Touch (3G)"}, + {"iPod4,1", "iPod Touch (4G)"} }; plist_get_string_val(node, &devtype); if (devtype) { -- cgit v1.1-32-gdbae