summaryrefslogtreecommitdiffstats
path: root/src/device.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-12-18 18:36:16 +0100
committerGravatar Martin Szulecki2010-12-19 21:23:46 +0100
commit0986d833ec566f52a4d2c41d33217db6f0d49dfa (patch)
tree1834c11b9189b2917e32e8d490f5befd38c92968 /src/device.h
parent6a1b66f1de2d7147d4498f0902a494de56282039 (diff)
downloadsbmanager-0986d833ec566f52a4d2c41d33217db6f0d49dfa.tar.gz
sbmanager-0986d833ec566f52a4d2c41d33217db6f0d49dfa.tar.bz2
Read home screen and icon folder configuration from device
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index c8829b2..b572c89 100644
--- a/src/device.h
+++ b/src/device.h
@@ -33,6 +33,17 @@ struct device_info_int {
char *device_type;
guint battery_capacity;
guint battery_poll_interval;
+ /* layout on iOS 3.2+ */
+ guint home_screen_icon_columns;
+ guint home_screen_icon_dock_max_count;
+ guint home_screen_icon_height;
+ guint home_screen_icon_rows;
+ guint home_screen_icon_width;
+ /* folders on iOS 4+ */
+ guint icon_folder_columns;
+ guint icon_folder_max_pages;
+ guint icon_folder_rows;
+ gboolean icon_state_saves;
};
typedef struct device_info_int *device_info_t;