Fix the wireless settings button for AirPCap devices in the
[obnox/wireshark/wip.git] / gtk / main_welcome.h
index 8c82031a54e4ac63f72fd399d2137dcf39352f7f..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);
 
@@ -32,7 +55,7 @@ GtkWidget *welcome_new(void);
 void main_welcome_reset_recent_capture_files(void);
 
 /* add a new file to the list of recently used files */
-void main_welcome_add_recent_capture_files(const char *widget_cf_name);
+void main_welcome_add_recent_capture_file(const char *widget_cf_name, GObject *menu_item);
 
 /* reload the list of interfaces */
 void welcome_if_panel_reload(void);
@@ -54,4 +77,18 @@ void welcome_header_set_message(gchar *msg);
  */
 void welcome_header_pop_msg(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__ */