summaryrefslogtreecommitdiffstats
path: root/src/widget_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget_data.h')
-rw-r--r--src/widget_data.h7
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[];
};