diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2012-01-24 16:05:26 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2012-01-24 16:05:26 +0000 |
commit | 08d67854125c80c95478e4de75c4a201a2e4145d (patch) | |
tree | cb50582f4c3e70cae4fc3de712152dfe4416d607 /ui/gtk/main_welcome.h | |
parent | 73cefbad157acd5e5b39e994eeabfe12fc3bedc9 (diff) |
Second try. This time pipes and stdin are supported.
Use a global list containing all interfaces and only change
properties of the entries when changes are made in the GUI.
Do not misuse the list of interfaces specified on the command
line anymore.
This patch does not provide any new functionality, it just
provides the base for future extensions like removing
remote interface, mulitple airpcap devices and multiple
pipes.
This patch was provided by Irene Ruengeler.
svn path=/trunk/; revision=40693
Diffstat (limited to 'ui/gtk/main_welcome.h')
-rw-r--r-- | ui/gtk/main_welcome.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/ui/gtk/main_welcome.h b/ui/gtk/main_welcome.h index 23996e3723..296a53796d 100644 --- a/ui/gtk/main_welcome.h +++ b/ui/gtk/main_welcome.h @@ -40,15 +40,6 @@ typedef struct selected_name_s { 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); /* reset the list of recently used files */ @@ -60,6 +51,8 @@ void main_welcome_add_recent_capture_file(const char *widget_cf_name, GObject *m /* reload the list of interfaces */ void welcome_if_panel_reload(void); +void welcome_if_tree_load(void); + /** Push a status message into the welcome screen header similar to * statusbar_push_*_msg(). This hides everything under the header. * If msg is dynamically allocated, it is up to the caller to free @@ -85,10 +78,10 @@ void change_interface_selection(gchar* name, gboolean activate); void change_selection_for_all(gboolean enable); +void update_welcome_list(void); + #ifdef HAVE_PCAP_REMOTE -void add_interface_to_list(gchar *name, gchar *descr, remote_options *remote_opts); +void add_interface_to_list(guint index); #endif -displayed_interface get_interface_data(gint index); - #endif /* __MAIN_WELCOME_H__ */ |