diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-02-19 22:21:17 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-02-19 22:21:17 +0000 |
commit | e48236a43635f9f0e695a25199bf3ab959774590 (patch) | |
tree | c6438499bad89c7f47eda54dc4e5c9bd2bcadb89 /epan/prefs.h | |
parent | 9736ff7cb5f2ba971202a3472707aa96380d16de (diff) |
Add automatic software update checks for Win32 using WinSparkle. Add
preferences (currently hidden) to disable updates, set the update
frequency, and set the update "channel" (stable vs development). Add a
"Help" menu item to manually check for updates.
svn path=/trunk/; revision=47748
Diffstat (limited to 'epan/prefs.h')
-rw-r--r-- | epan/prefs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h index a2d569fadc..8249bc42ce 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -119,6 +119,13 @@ typedef enum { pref_current } pref_source_t; +/* + * Update channel. + */ +typedef enum { + UPDATE_CHANNEL_DEVELOPMENT, + UPDATE_CHANNEL_STABLE +} software_update_channel_e; typedef struct _e_prefs { gint pr_format; @@ -183,6 +190,9 @@ typedef struct _e_prefs { guint tap_update_interval; gboolean display_hidden_proto_items; gpointer filter_expressions; /* Actually points to &head */ + gboolean gui_update_enabled; + software_update_channel_e gui_update_channel; + gint gui_update_interval; } e_prefs; WS_VAR_IMPORT e_prefs prefs; |