mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
stop riscos uncesecarily including gui.h
This commit is contained in:
parent
bd804d3fe4
commit
7f55cb58a0
@ -30,7 +30,7 @@
|
||||
#include "desktop/plot_style.h"
|
||||
#include "desktop/mouse.h"
|
||||
|
||||
typedef enum {
|
||||
typedef enum gui_save_type {
|
||||
GUI_SAVE_SOURCE,
|
||||
GUI_SAVE_DRAW,
|
||||
GUI_SAVE_PDF,
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "content/urldb.h"
|
||||
#include "desktop/global_history.h"
|
||||
#include "desktop/tree.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "riscos/dialog.h"
|
||||
#include "riscos/global_history.h"
|
||||
#include "riscos/gui.h"
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "content/urldb.h"
|
||||
#include "desktop/hotlist.h"
|
||||
#include "desktop/tree.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
#include "utils/utils.h"
|
||||
|
@ -25,22 +25,23 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "oslib/wimp.h"
|
||||
#include "desktop/gui.h"
|
||||
|
||||
void gui_drag_save_object(struct gui_window *g, struct hlcache_handle *c, gui_save_type save_type);
|
||||
enum gui_save_type;
|
||||
|
||||
void gui_drag_save_object(struct gui_window *g, struct hlcache_handle *c, enum gui_save_type save_type);
|
||||
void gui_drag_save_selection(struct gui_window *g, const char *selection);
|
||||
|
||||
wimp_w ro_gui_saveas_create(const char *template_name);
|
||||
void ro_gui_saveas_quit(void);
|
||||
void ro_gui_save_prepare(gui_save_type save_type, struct hlcache_handle *h,
|
||||
void ro_gui_save_prepare(enum gui_save_type save_type, struct hlcache_handle *h,
|
||||
char *s, const char *url,
|
||||
const char *title);
|
||||
void ro_gui_save_start_drag(wimp_pointer *pointer);
|
||||
void ro_gui_drag_save_link(gui_save_type save_type, const char *url,
|
||||
void ro_gui_drag_save_link(enum gui_save_type save_type, const char *url,
|
||||
const char *title, struct gui_window *g);
|
||||
void ro_gui_drag_icon(int x, int y, const char *sprite);
|
||||
void ro_gui_drag_box_cancel(void);
|
||||
void ro_gui_send_datasave(gui_save_type save_type, wimp_full_message_data_xfer *message, wimp_t to);
|
||||
void ro_gui_send_datasave(enum gui_save_type save_type, wimp_full_message_data_xfer *message, wimp_t to);
|
||||
void ro_gui_save_datasave_ack(wimp_message *message);
|
||||
bool ro_gui_save_ok(wimp_w w);
|
||||
void ro_gui_convert_save_path(char *dp, size_t len, const char *p);
|
||||
|
Loading…
Reference in New Issue
Block a user