diff options
author | Martin Szulecki | 2010-12-18 17:09:37 +0100 |
---|---|---|
committer | Martin Szulecki | 2010-12-19 21:23:46 +0100 |
commit | 379c4f558a6baf0bb250b8e7900c22ea243577f5 (patch) | |
tree | 82ac4faccc3c5495788d872c37f6d4cac18e082e /src | |
parent | de4d91b9429f6bbaa5970c8194b152c67bb3f289 (diff) | |
download | sbmanager-379c4f558a6baf0bb250b8e7900c22ea243577f5.tar.gz sbmanager-379c4f558a6baf0bb250b8e7900c22ea243577f5.tar.bz2 |
Add iPod Touch 4G to device list
Diffstat (limited to 'src')
-rw-r--r-- | src/device.c | 7 |
1 files changed, 4 insertions, 3 deletions
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) { |