diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-28 14:23:22 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-28 14:23:22 +0100 |
commit | bd39d108db34ccc78199c088c430870d4038b71f (patch) | |
tree | a38276e6d3ca850e9e781b9142cc5064c2525c98 /desktop/global_history.c | |
parent | 91018643db6bdd3ff4d78ff3a502ed4dbfd74a1b (diff) | |
download | netsurf-bd39d108db34ccc78199c088c430870d4038b71f.tar.gz netsurf-bd39d108db34ccc78199c088c430870d4038b71f.tar.bz2 |
Add a few functions for front ends to use.
Diffstat (limited to 'desktop/global_history.c')
-rw-r--r-- | desktop/global_history.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c index 6713fcab5..3861ee27b 100644 --- a/desktop/global_history.c +++ b/desktop/global_history.c @@ -949,3 +949,17 @@ void global_history_keypress(uint32_t key) treeview_keypress(gh_ctx.tree, key); } + +/* Exported interface, documented in global_history.h */ +bool global_history_has_selection(void) +{ + return treeview_has_selection(gh_ctx.tree); +} + + +/* Exported interface, documented in global_history.h */ +int global_history_get_height(void) +{ + return treeview_get_height(gh_ctx.tree); +} + |