From 5a541e581babc422d8b7e04b39d2999dde290cc8 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 10 Jan 2015 23:39:21 +0000 Subject: stub out drag stuff for os3 --- amiga/drag.c | 46 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) (limited to 'amiga/drag.c') diff --git a/amiga/drag.c b/amiga/drag.c index bf2c94123..5999caade 100644 --- a/amiga/drag.c +++ b/amiga/drag.c @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - +#ifdef __amigaos4__ #include #include @@ -26,9 +26,7 @@ #include #include -#ifdef __amigaos4__ #include -#endif #include #include "utils/errors.h" @@ -36,10 +34,8 @@ #include "utils/messages.h" #include "utils/utils.h" #include "utils/nsoption.h" -#include "desktop/browser.h" #include "content/hlcache.h" #include "desktop/mouse.h" -#include "desktop/gui_window.h" #include "amiga/gui.h" #include "amiga/bitmap.h" @@ -315,3 +311,43 @@ void *ami_window_at_pointer(int type) if(layer) return ami_find_gwin_by_id(layer->Window, type); else return NULL; } + +#else +#include "amiga/drag.h" + +void gui_drag_save_object(struct gui_window *g, struct hlcache_handle *c, + gui_save_type type) +{ +} + +void gui_drag_save_selection(struct gui_window *g, const char *selection) +{ +} + +void ami_drag_save(struct Window *win) +{ +} + +void ami_drag_icon_show(struct Window *win, const char *type) +{ +} + +void ami_drag_icon_close(struct Window *win) +{ +} + +void ami_drag_icon_move(void) +{ +} + +BOOL ami_drag_in_progress(void) +{ + return FALSE; +} + +void *ami_window_at_pointer(int type) +{ + return NULL; +} +#endif + -- cgit v1.2.3