summaryrefslogtreecommitdiff
path: root/wsutil/file_util.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-12-13 10:33:02 -0800
committerAnders Broman <a.broman58@gmail.com>2016-12-20 14:18:14 +0000
commit795f4eb106d877ba6f2bd30524cc871404e9e42a (patch)
tree2ba3df1aa07b2b6f565929f3efef916525c047cc /wsutil/file_util.h
parent0de990e022a74aab7b6b1c9bf35849a035327b92 (diff)
downloadwireshark-795f4eb106d877ba6f2bd30524cc871404e9e42a.tar.gz
Qt+Win32: Make software updates more friendly.
Add WinSparkle can_shutdown and shutdown_request callbacks which are called prior to running the installer. Reject updates when we have unsaved information. Add notes about possible improvements. Ping-Bug: 9687 Ping-Bug: 12989 Change-Id: Ia126244b311417aa3105ea8136f186adc2745445 Reviewed-on: https://code.wireshark.org/review/19244 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wsutil/file_util.h')
-rw-r--r--wsutil/file_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wsutil/file_util.h b/wsutil/file_util.h
index 5c8c0c41c6..fc13f4c6c3 100644
--- a/wsutil/file_util.h
+++ b/wsutil/file_util.h
@@ -168,6 +168,10 @@ GModule *ws_module_open(gchar *module_name, GModuleFlags flags);
*/
WS_DLL_PUBLIC void create_app_running_mutex();
+/** Close our "Wireshark is running" mutex.
+ */
+WS_DLL_PUBLIC void close_app_running_mutex();
+
#else /* _WIN32 */
/*