summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2014-09-15 23:06:28 +0200
committerOle Loots <ole@monochrom.net>2014-09-15 23:06:28 +0200
commit2c01ca13f26c0991d5d0fece210bcdcb60dbb10c (patch)
tree22a2418925395c90ac72da256e97dedc76d7eadd /atari
parentccac36485701ec99506ba232e07e416ec670dfd2 (diff)
downloadnetsurf-2c01ca13f26c0991d5d0fece210bcdcb60dbb10c.tar.gz
netsurf-2c01ca13f26c0991d5d0fece210bcdcb60dbb10c.tar.bz2
Enabled the filesystem backing store.
Diffstat (limited to 'atari')
-rw-r--r--atari/Makefile.defaults5
-rw-r--r--atari/gui.c4
2 files changed, 9 insertions, 0 deletions
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);