summaryrefslogtreecommitdiff
path: root/desktop/global_history.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/global_history.h')
-rw-r--r--desktop/global_history.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/global_history.h b/desktop/global_history.h
index 4ebe13980..7c49cfcb7 100644
--- a/desktop/global_history.h
+++ b/desktop/global_history.h
@@ -110,6 +110,15 @@ void global_history_keypress(uint32_t key);
bool global_history_has_selection(void);
/**
+ * Get the first selected node
+ *
+ * \param url Updated to the selected entry's address, or NULL
+ * \param title Updated to the selected entry's title, or NULL
+ * \return true iff global history has a selection
+ */
+bool global_history_get_selection(nsurl **url, const char **title);
+
+/**
* Expand the treeview's nodes
*
* \param only_folders Iff true, only folders are expanded.