From 2c01ca13f26c0991d5d0fece210bcdcb60dbb10c Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Mon, 15 Sep 2014 23:06:28 +0200 Subject: Enabled the filesystem backing store. --- atari/Makefile.defaults | 5 +++++ atari/gui.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/atari/Makefile.defaults b/atari/Makefile.defaults index dcdc1d661..211c8e65d 100644 --- a/atari/Makefile.defaults +++ b/atari/Makefile.defaults @@ -26,6 +26,11 @@ NETSURF_USE_NSSVG := AUTO # Valid options: YES, NO NETSURF_USE_MOZJS := NO +# Enable building the source object cache filesystem based backing store. +# implementation. +# Valid options: YES, NO +NETSURF_FS_BACKING_STORE := YES + # enable true type fonts via freetype2 # Valid options: YES, NO NETSURF_USE_ATARI_FREETYPE_FONT := YES diff --git a/atari/gui.c b/atari/gui.c index 9ba56f05c..c507ce445 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -37,6 +37,7 @@ #include "content/urldb.h" #include "content/fetch.h" #include "content/fetchers/resource.h" +#include "content/backing_store.h" #include "css/utils.h" #include "desktop/gui.h" #include "desktop/plotters.h" @@ -1060,6 +1061,8 @@ int main(int argc, char** argv) struct stat stat_buf; nsurl *url; nserror ret; + extern struct gui_llcache_table* filesystem_llcache_table; + struct netsurf_table atari_table = { .browser = &atari_browser_table, .window = &atari_window_table, @@ -1069,6 +1072,7 @@ int main(int argc, char** argv) .file = atari_file_table, .utf8 = atari_utf8_table, .search = atari_search_table, + .llcache = filesystem_llcache_table }; ret = netsurf_register(&atari_table); -- cgit v1.2.3