aboutsummaryrefslogtreecommitdiffstats
path: root/ui/profile.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-12-30 19:33:05 +0000
committerGerald Combs <gerald@wireshark.org>2012-12-30 19:33:05 +0000
commit4ca47864db302c67baaccc6de20c974753ec60e5 (patch)
tree2c709c645c5d5f13cab446e4337a35df004122a8 /ui/profile.h
parentaf2b925604c272b2e348e8a1db60d0550961176b (diff)
downloadwireshark-4ca47864db302c67baaccc6de20c974753ec60e5.tar.gz
wireshark-4ca47864db302c67baaccc6de20c974753ec60e5.tar.bz2
wireshark-4ca47864db302c67baaccc6de20c974753ec60e5.zip
Move profile deletion code from profile_dlg.c to profile.c. Add left
mouse and context (right mouse) signals to label stacks and use them to pop up profile menus in the status bar. Add profile actions (manage, new, edit, delete) to the profile dialog. svn path=/trunk/; revision=46863
Diffstat (limited to 'ui/profile.h')
-rw-r--r--ui/profile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/profile.h b/ui/profile.h
index 01a8a2c536..a7163945f2 100644
--- a/ui/profile.h
+++ b/ui/profile.h
@@ -119,6 +119,13 @@ const gchar *get_profile_parent (const gchar *profilename);
*/
const gchar *profile_name_is_valid(const gchar *name);
+/** Remove the current profile.
+ *
+ * @return TRUE if the current profile exists and was successfully deleted
+ * or FALSE otherwise.
+ */
+gboolean delete_current_profile(void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */