2008-10-25 23:22:34 +00:00
|
|
|
/*
|
2011-04-29 18:15:20 +00:00
|
|
|
* Copyright 2008-2009, 2011 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
2008-10-25 23:22:34 +00:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AMIGA_CLIPBOARD_H
|
|
|
|
#define AMIGA_CLIPBOARD_H
|
2011-03-26 10:33:58 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2011-03-16 19:23:24 +00:00
|
|
|
struct bitmap;
|
|
|
|
struct hlcache_handle;
|
|
|
|
struct selection;
|
2013-02-22 19:02:58 +00:00
|
|
|
struct gui_window;
|
2011-04-29 18:15:20 +00:00
|
|
|
struct gui_window_2;
|
2014-01-16 14:43:48 +00:00
|
|
|
struct gui_clipboard_table;
|
2011-04-29 18:15:20 +00:00
|
|
|
|
2014-01-16 14:43:48 +00:00
|
|
|
extern struct gui_clipboard_table *amiga_clipboard_table;
|
2014-01-14 23:31:54 +00:00
|
|
|
|
2014-01-16 14:43:48 +00:00
|
|
|
void gui_start_selection(struct gui_window *g);
|
2014-01-13 22:54:19 +00:00
|
|
|
|
2008-10-25 23:22:34 +00:00
|
|
|
void ami_clipboard_init(void);
|
|
|
|
void ami_clipboard_free(void);
|
2013-02-22 19:02:58 +00:00
|
|
|
void ami_drag_selection(struct gui_window *g);
|
2008-10-25 23:22:34 +00:00
|
|
|
bool ami_easy_clipboard(char *text);
|
2009-05-16 17:04:28 +00:00
|
|
|
bool ami_easy_clipboard_bitmap(struct bitmap *bitmap);
|
2009-05-19 07:30:00 +00:00
|
|
|
#ifdef WITH_NS_SVG
|
2010-03-28 15:51:05 +00:00
|
|
|
bool ami_easy_clipboard_svg(struct hlcache_handle *c);
|
2008-10-25 23:22:34 +00:00
|
|
|
#endif
|
2009-05-19 07:30:00 +00:00
|
|
|
#endif
|