Synchronize the selection of interfaces between the main welcome
[obnox/wireshark/wip.git] / gtk / main_welcome.h
index c46a148c78b30deccc1fd0f2e4752b1ed01e1060..b7da8adff4b479c1cc20b3e038f5a0192c12502b 100644 (file)
 #ifndef __MAIN_WELCOME_H__
 #define __MAIN_WELCOME_H__
 
+enum
+{
+  ICON = 0,
+  IFACE_DESCR,
+  IFACE_NAME,
+  NUMCOLUMNS
+};
 
+typedef struct selected_name_s {
+  gchar *name;
+  gboolean activate;
+} selected_name_t;
 GtkWidget *welcome_new(void);
 
 /* reset the list of recently used files */
@@ -54,6 +65,10 @@ void welcome_header_set_message(gchar *msg);
  */
 void welcome_header_pop_msg(void);
 
-void welcome_if_tree_load(void);
+void select_ifaces(void);
+
+GtkWidget* get_welcome_window(void);
+
+void change_interface_selection(gchar* name, gboolean activate);
 
 #endif /* __MAIN_WELCOME_H__ */