summaryrefslogtreecommitdiff
path: root/ui/util.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-10-11 17:20:50 +0000
committerGerald Combs <gerald@wireshark.org>2013-10-11 17:20:50 +0000
commit259768dc1ae8894c1ae758c762389e3926be4bfb (patch)
tree302f8e99883053a6fad30cd5fb114ffc191517c8 /ui/util.h
parentee5397d832bc1b19791ffe1280621a6b327cae23 (diff)
downloadwireshark-259768dc1ae8894c1ae758c762389e3926be4bfb.tar.gz
Remove GTK+ and global cfile dependencies from file_dlg_win32.c.
Move the declaration of set_last_open_dir() to ui/util.h. It still has separate GTK+ and Qt implemenations. We might want to move it to ui/util.c at some point. Remove a lot of unnecessary GTK+ includes. Remove most of the references to the global cfile while we're at it. svn path=/trunk/; revision=52542
Diffstat (limited to 'ui/util.h')
-rw-r--r--ui/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/util.h b/ui/util.h
index 214443292f..7fb5e17df1 100644
--- a/ui/util.h
+++ b/ui/util.h
@@ -52,6 +52,12 @@ void compute_timestamp_diff(gint *diffsec, gint *diffusec,
*/
const char *get_conn_cfilter(void);
+/** Set the latest opened directory.
+ * Will already be done when using file_selection_new().
+ *
+ * @param dirname the dirname
+ */
+extern void set_last_open_dir(const char *dirname);
#ifdef __cplusplus
}