* Definitions for menu routines with toolkit-independent APIs but
* toolkit-dependent implementations.
*
- * $Id: menu.h,v 1.10 2002/08/28 21:00:06 jmayer Exp $
+ * $Id$
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
extern "C" {
#endif /* __cplusplus */
+
+/* Add a new recent capture filename to the "Recent Files" submenu
+ (duplicates will be ignored) */
+void add_menu_recent_capture_file(gchar *file);
+
/* Routines to enable or disable sets of menu items. */
/* Enable or disable menu items based on whether you have a capture file
void set_menus_for_captured_packets(gboolean);
/* Enable or disable menu items based on whether a packet is selected. */
-void set_menus_for_selected_packet(gboolean);
+void set_menus_for_selected_packet(capture_file *cf);
/* Enable or disable menu items based on whether a tree row is selected
and and on whether a "Match Selected" can be done. */
-void set_menus_for_selected_tree_row(gboolean);
+void set_menus_for_selected_tree_row(capture_file *cf);
#ifdef __cplusplus
}