diff options
author | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-06-21 14:43:35 (GMT) |
---|---|---|
committer | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-06-21 14:43:35 (GMT) |
commit | c17a6252cd24686ee9dd4a106b52171590a2ce5d (patch) | |
tree | f8bf2b5b28f6cc2bb3a3dcfcd1d3efe3113c4182 /src/widget_data.h | |
parent | 60125d43e66623e3cd3a2721327cb2ebf622b00f (diff) | |
download | eulogium-c17a6252cd24686ee9dd4a106b52171590a2ce5d.zip eulogium-c17a6252cd24686ee9dd4a106b52171590a2ce5d.tar.gz eulogium-c17a6252cd24686ee9dd4a106b52171590a2ce5d.tar.bz2 |
add networkinfo get/set
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'src/widget_data.h')
-rw-r--r-- | src/widget_data.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/widget_data.h b/src/widget_data.h index dd6c936..bc50900 100644 --- a/src/widget_data.h +++ b/src/widget_data.h @@ -35,6 +35,11 @@ struct dir_entry_def { char *path; }; +struct wifi_entry_def { + void *data; + char *ssid; +}; + struct menu_entry_def { const char *icon; const char *label; @@ -51,6 +56,7 @@ struct menu_entry_def { enum list_type { LIST_MENU, LIST_FILE, + LIST_WIFI, }; struct menu_def { @@ -58,6 +64,7 @@ struct menu_def { enum list_type type; void *data; struct dir_entry_def dir; + struct wifi_entry_def wifi; /* TODO see if we can put this into a union somehow */ struct menu_entry_def entry[]; }; |