2004-01-19 00:42:12 +00:00
|
|
|
/* recent.h
|
|
|
|
* Definitions for recent "preference" handling routines
|
|
|
|
* Copyright 2004, Ulf Lamping <ulf.lamping@web.de>
|
|
|
|
*
|
2004-02-01 20:28:11 +00:00
|
|
|
* $Id: recent.h,v 1.4 2004/02/01 20:28:11 ulfl Exp $
|
2004-01-19 00:42:12 +00:00
|
|
|
*
|
|
|
|
* Ethereal - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@ethereal.com>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __RECENT_H__
|
|
|
|
#define __RECENT_H__
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define RECENT_KEY_CAPTURE_FILE "recent.capture_file"
|
|
|
|
#define RECENT_KEY_DISPLAY_FILTER "recent.display_filter"
|
|
|
|
|
|
|
|
typedef struct recent_settings_tag {
|
|
|
|
gboolean main_toolbar_show;
|
|
|
|
gboolean filter_toolbar_show;
|
|
|
|
gboolean packet_list_show;
|
2004-01-19 03:46:43 +00:00
|
|
|
/*gboolean packet_list_height;*/
|
2004-01-19 00:42:12 +00:00
|
|
|
gboolean tree_view_show;
|
2004-01-19 03:46:43 +00:00
|
|
|
/*gboolean tree_view_height;*/
|
2004-01-19 00:42:12 +00:00
|
|
|
gboolean byte_view_show;
|
|
|
|
gboolean statusbar_show;
|
2004-01-19 03:46:43 +00:00
|
|
|
gint gui_time_format;
|
2004-01-20 18:47:25 +00:00
|
|
|
gint gui_zoom_level;
|
2004-02-01 20:28:11 +00:00
|
|
|
|
|
|
|
gint gui_geometry_main_x;
|
|
|
|
gint gui_geometry_main_y;
|
|
|
|
gint gui_geometry_main_width;
|
|
|
|
gint gui_geometry_main_height;
|
|
|
|
gchar *gui_fileopen_remembered_dir;
|
|
|
|
|
|
|
|
gboolean gui_geometry_main_maximized; /* this is valid in GTK2 only */
|
2004-01-19 00:42:12 +00:00
|
|
|
} recent_settings_t;
|
|
|
|
|
|
|
|
extern recent_settings_t recent;
|
|
|
|
|
|
|
|
|
|
|
|
extern int write_recent(char **rf_path_return);
|
|
|
|
|
|
|
|
extern void read_recent(char **rf_path_return, int *rf_errno_return);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* recent.h */
|