6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #ifndef __MAIN_WELCOME_H__
26 #define __MAIN_WELCOME_H__
36 GtkWidget *welcome_new(void);
38 /* reset the list of recently used files */
39 void main_welcome_reset_recent_capture_files(void);
41 /* add a new file to the list of recently used files */
42 void main_welcome_add_recent_capture_file(const char *widget_cf_name, GObject *menu_item);
44 /* reload the list of interfaces */
45 void welcome_if_panel_reload(void);
47 /** Push a status message into the welcome screen header similar to
48 * statusbar_push_*_msg(). This hides everything under the header.
49 * If msg is dynamically allocated, it is up to the caller to free
50 * it. If msg is NULL, the default message will be shown.
52 * @param msg The message
54 void welcome_header_push_msg(const gchar *msg);
56 void welcome_header_set_message(gchar *msg);
58 /** Pop a status message from the welcome screen. If there are no
59 * messages on the stack, the default message and the main columns
62 void welcome_header_pop_msg(void);
64 void select_ifaces(void);
66 #endif /* __MAIN_WELCOME_H__ */