Fix the wireless settings button for AirPCap devices in the
[obnox/wireshark/wip.git] / gtk / main_welcome.h
index c46a148c78b30deccc1fd0f2e4752b1ed01e1060..566f7669e272272b56b9536aa4bf295c52425156 100644 (file)
 #ifndef __MAIN_WELCOME_H__
 #define __MAIN_WELCOME_H__
 
+#include "gtk/capture_dlg.h"
+
+enum
+{
+  ICON = 0,
+  IFACE_DESCR,
+  IFACE_NAME,
+  NUMCOLUMNS
+};
+
+typedef struct selected_name_s {
+  gchar *name;
+  gboolean activate;
+} selected_name_t;
+
+typedef struct displayed_interface_s {
+       gchar *name;
+       gchar *descr;
+       GtkWidget *icon;
+#ifdef HAVE_PCAP_REMOTE
+       remote_options remote_opts;
+#endif
+} displayed_interface;
 
 GtkWidget *welcome_new(void);
 
@@ -54,6 +77,18 @@ 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);
+
+void change_selection_for_all(gboolean enable);
+
+#ifdef HAVE_PCAP_REMOTE
+void add_interface_to_list(gchar *name, gchar *descr, remote_options *remote_opts);
+#endif
+
+displayed_interface get_interface_data(gint index);
 
 #endif /* __MAIN_WELCOME_H__ */