diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-02 14:23:42 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-02 14:23:42 +0100 |
commit | efaca1c1fa7238aa0edc46a0e3e0eda61efda682 (patch) | |
tree | 997c6793ff437c8ed2e69a70f7568341009f29c3 /desktop/selection.h | |
parent | 1d827d2cf32fc6bcc3d2b39362ec67309c097f19 (diff) | |
download | netsurf-efaca1c1fa7238aa0edc46a0e3e0eda61efda682.tar.gz netsurf-efaca1c1fa7238aa0edc46a0e3e0eda61efda682.tar.bz2 |
Add core function for copy to clipboard, so we don't need to expose render/box.h internals to front ends.
Diffstat (limited to 'desktop/selection.h')
-rw-r--r-- | desktop/selection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/selection.h b/desktop/selection.h index 69d145c1d..16b002a02 100644 --- a/desktop/selection.h +++ b/desktop/selection.h @@ -95,6 +95,8 @@ bool selection_click(struct selection *s, browser_mouse_state mouse, void selection_track(struct selection *s, browser_mouse_state mouse, unsigned idx); +bool selection_copy_to_clipboard(struct selection *s); + /** Handles completion of a drag operation */ /* void selection_drag_end(struct selection *s); */ #define selection_drag_end(s) ((s)->drag_state = DRAG_NONE) |