23#ifndef _NETSURF_RISCOS_SAVE_H_
24#define _NETSURF_RISCOS_SAVE_H_
27#include "oslib/wimp.h"
38 char *s,
const struct nsurl *url,
struct nsurl nsurl
NetSurf URL object.
void gui_drag_save_selection(struct gui_window *g, const char *selection)
Initiates drag saving of a selection from a browser window.
void ro_gui_drag_icon(int x, int y, const char *sprite)
Start drag of icon under the pointer.
void ro_gui_send_datasave(enum gui_save_type save_type, wimp_full_message_data_xfer *message, wimp_t to)
Send DataSave message on behalf of clipboard code and remember that it's the clipboard contents we're...
void ro_gui_drag_box_cancel(void)
void ro_gui_convert_save_path(char *dp, size_t len, const char *p)
Convert a ctrl-char terminated pathname possibly containing spaces to a NUL-terminated one containing...
void ro_gui_save_prepare(enum gui_save_type save_type, struct hlcache_handle *h, char *s, const struct nsurl *url, const char *title)
void ro_gui_drag_save_link(enum gui_save_type save_type, const struct nsurl *url, const char *title, struct gui_window *g)
void ro_gui_saveas_quit(void)
Clean-up function that releases our sprite area and memory.
bool ro_gui_save_ok(wimp_w w)
Handle OK click/keypress in the save dialog.
void ro_gui_save_datasave_ack(wimp_message *message)
Handle Message_DataSaveAck for a drag from the save dialog or browser window, or Clipboard protocol.
wimp_w ro_gui_saveas_create(const char *template_name)
Create the saveas dialogue from the given template, and the sprite area necessary for our thumbnail (...
void gui_drag_save_object(struct gui_window *g, struct hlcache_handle *c, enum gui_save_type save_type)
Initiates drag saving of an object directly from a browser window.
void ro_gui_save_start_drag(wimp_pointer *pointer)
Starts a drag for the save dialog.
first entry in window list
char to[32]
Encoding name to convert to.