mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 04:02:34 +03:00
move tree compatability layer to amiga frontend
This commit is contained in:
parent
76673bbf65
commit
48f868a955
@ -2,8 +2,8 @@
|
||||
|
||||
S_DESKTOP := cookie_manager.c knockout.c hotlist.c mouse.c \
|
||||
plot_style.c print.c search.c searchweb.c scrollbar.c \
|
||||
sslcert_viewer.c textarea.c tree.c version.c \
|
||||
system_colour.c global_history.c treeview.c
|
||||
sslcert_viewer.c textarea.c version.c system_colour.c \
|
||||
global_history.c treeview.c
|
||||
|
||||
S_DESKTOP := $(addprefix desktop/,$(S_DESKTOP))
|
||||
|
||||
|
@ -37,7 +37,7 @@ MESSAGES_FILTER=ami
|
||||
|
||||
# sources purely for the Amiga build
|
||||
S_FRONTEND := gui.c tree.c history.c hotlist.c schedule.c file.c \
|
||||
misc.c bitmap.c font.c filetype.c utf8.c login.c memory.c \
|
||||
misc.c bitmap.c font.c filetype.c utf8.c login.c memory.c \
|
||||
plotters.c object.c menu.c save_pdf.c arexx.c version.c \
|
||||
cookies.c ctxmenu.c clipboard.c help.c font_scan.c \
|
||||
launch.c search.c history_local.c download.c iff_dr2d.c \
|
||||
@ -45,7 +45,8 @@ S_FRONTEND := gui.c tree.c history.c hotlist.c schedule.c file.c \
|
||||
datatypes.c dt_picture.c dt_anim.c dt_sound.c plugin_hack.c \
|
||||
stringview/stringview.c stringview/urlhistory.c rtg.c \
|
||||
agclass/amigaguide_class.c os3support.c font_diskfont.c \
|
||||
selectmenu.c hash/xxhash.c font_cache.c font_bullet.c nsoption.c
|
||||
selectmenu.c hash/xxhash.c font_cache.c font_bullet.c \
|
||||
nsoption.c desktop-tree.c
|
||||
|
||||
# This is the final source build list
|
||||
# Note this is deliberately *not* expanded here as common and image
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#ifndef AMIGA_COOKIES_H
|
||||
#define AMIGA_COOKIES_H
|
||||
#include "desktop/tree.h"
|
||||
#include "amiga/desktop-tree.h"
|
||||
#include "amiga/tree.h"
|
||||
|
||||
void ami_cookies_initialise(void);
|
||||
|
@ -31,12 +31,19 @@
|
||||
#include "utils/messages.h"
|
||||
#include "utils/utils.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "netsurf/misc.h"
|
||||
#include "netsurf/browser_window.h"
|
||||
#include "netsurf/core_window.h"
|
||||
#include "content/content.h"
|
||||
#include "content/hlcache.h"
|
||||
#include "desktop/gui_internal.h"
|
||||
#include "desktop/treeview.h"
|
||||
#include "desktop/hotlist.h"
|
||||
#include "desktop/cookie_manager.h"
|
||||
#include "desktop/global_history.h"
|
||||
#include "desktop/sslcert_viewer.h"
|
||||
|
||||
#include "desktop/tree.h"
|
||||
#include "amiga/desktop-tree.h"
|
||||
|
||||
struct tree {
|
||||
unsigned int flags; /* Tree flags */
|
||||
@ -45,13 +52,6 @@ struct tree {
|
||||
void *client_data; /* User assigned data for the callbacks */
|
||||
};
|
||||
|
||||
#include "netsurf/misc.h"
|
||||
#include "desktop/gui_internal.h"
|
||||
#include "desktop/treeview.h"
|
||||
#include "desktop/hotlist.h"
|
||||
#include "desktop/cookie_manager.h"
|
||||
#include "desktop/global_history.h"
|
||||
#include "desktop/sslcert_viewer.h"
|
||||
|
||||
struct sslcert_session_data *ssl_current_session = NULL;
|
||||
const char *tree_hotlist_path = NULL;
|
@ -116,9 +116,9 @@
|
||||
#include "desktop/save_complete.h"
|
||||
#include "desktop/scrollbar.h"
|
||||
#include "desktop/searchweb.h"
|
||||
#include "desktop/tree.h"
|
||||
|
||||
/* NetSurf Amiga platform includes */
|
||||
#include "amiga/desktop-tree.h"
|
||||
#include "amiga/gui.h"
|
||||
#include "amiga/arexx.h"
|
||||
#include "amiga/bitmap.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#ifndef AMIGA_HISTORY_H
|
||||
#define AMIGA_HISTORY_H
|
||||
#include "desktop/tree.h"
|
||||
#include "amiga/desktop-tree.h"
|
||||
|
||||
#define GLOBAL_HISTORY_RECENT_URLS 16
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <exec/types.h>
|
||||
#include <intuition/classusr.h>
|
||||
#include "amiga/os3support.h"
|
||||
#include "desktop/tree.h"
|
||||
#include "amiga/desktop-tree.h"
|
||||
|
||||
struct treeview_window;
|
||||
|
||||
|
@ -109,7 +109,6 @@ char *url_to_path(const char *url)
|
||||
******************************************************************************/
|
||||
|
||||
#include "desktop/cookie_manager.h"
|
||||
#include "desktop/tree.h"
|
||||
|
||||
/* desktop/cookie_manager.h -- used by urldb
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user