Add the ability to push and pop messages in to and out of the welcome
[obnox/wireshark/wip.git] / gtk / main_welcome.h
index b646428465bd94eb7aca4c06eac0314f6766209c..f8894690951cfdbf6113e15555028d5b09cd0c23 100644 (file)
@@ -37,5 +37,19 @@ void main_welcome_add_recent_capture_files(const char *widget_cf_name);
 /* reload the list of interfaces */
 void welcome_if_panel_reload(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
+ *  it. If msg is NULL, the default message will be shown.
+ *
+ * @param msg The message
+ */
+void welcome_header_push_msg(gchar *msg);
+
+/** Pop a status message from the welcome screen. If there are no
+ *  messages on the stack, the default message and the main columns
+ *  will be shown.
+ */
+void welcome_header_pop_msg();
 
 #endif /* __MAIN_WELCOME_H__ */