From 30b09368e7980def81ccfd7b4038225e7ec13ed9 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 25 Oct 2008 23:22:34 +0000 Subject: Track the current/last used browser window (at the moment, just for ARexx). Extended ARexx port. First two are primarily for openurl.library: * OPEN now takes a parameter NEW=NEWWINDOW/S to open the URL in a new window (default is to open in the current browser window) * TOFRONT will bring NetSurf's screen to the front (this may be extended in the future to bring the current browser window to the front - which might be better for when it is running on the WB screen) Next is to make it easy to support getvideo.rexx: * GETURL returns the URL of the current browser window in RESULT GetVideo.nsrx script will get the current URL and pass it to rexx:getvideo.rexx Currently there is no way to call ARexx scripts directly from NetSurf, or any way to specify whether to save, play or saveplay the video without editing the script. [clipboard.c/clipboard.h were missing from previous commit] svn path=/trunk/netsurf/; revision=5631 --- amiga/clipboard.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 amiga/clipboard.h (limited to 'amiga/clipboard.h') diff --git a/amiga/clipboard.h b/amiga/clipboard.h new file mode 100755 index 000000000..45608a4de --- /dev/null +++ b/amiga/clipboard.h @@ -0,0 +1,24 @@ +/* + * Copyright 2008 Chris Young + * + * 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 . + */ + +#ifndef AMIGA_CLIPBOARD_H +#define AMIGA_CLIPBOARD_H +void ami_clipboard_init(void); +void ami_clipboard_free(void); +bool ami_easy_clipboard(char *text); +#endif -- cgit v1.2.3