2008-10-26 02:22:34 +03:00
|
|
|
/*
|
2011-04-29 22:15:20 +04:00
|
|
|
* Copyright 2008-2009, 2011 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
2008-10-26 02:22:34 +03: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 13:33:58 +03:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2011-03-16 22:23:24 +03:00
|
|
|
struct bitmap;
|
|
|
|
struct hlcache_handle;
|
|
|
|
struct selection;
|
2013-02-22 23:02:58 +04:00
|
|
|
struct gui_window;
|
2011-04-29 22:15:20 +04:00
|
|
|
struct gui_window_2;
|
|
|
|
|
2008-10-26 02:22:34 +03:00
|
|
|
void ami_clipboard_init(void);
|
|
|
|
void ami_clipboard_free(void);
|
2013-02-22 23:02:58 +04:00
|
|
|
void ami_drag_selection(struct gui_window *g);
|
2008-10-26 02:22:34 +03:00
|
|
|
bool ami_easy_clipboard(char *text);
|
2009-05-16 21:04:28 +04:00
|
|
|
bool ami_easy_clipboard_bitmap(struct bitmap *bitmap);
|
2009-05-19 11:30:00 +04:00
|
|
|
#ifdef WITH_NS_SVG
|
2010-03-28 19:51:05 +04:00
|
|
|
bool ami_easy_clipboard_svg(struct hlcache_handle *c);
|
2008-10-26 02:22:34 +03:00
|
|
|
#endif
|
2009-05-19 11:30:00 +04:00
|
|
|
#endif
|