diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2006-01-08 01:51:33 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2006-01-08 01:51:33 +0000 |
commit | 745deb7a9d4bf26a6339a297c3c06bb12f5cc102 (patch) | |
tree | 21fce77c94096ea7a9297a67edde9857492338d4 /riscos/options.h | |
parent | 5eb7692b8ff2a0b226fa56ee4bb3c2d8f8e98044 (diff) | |
download | netsurf-745deb7a9d4bf26a6339a297c3c06bb12f5cc102.tar.gz netsurf-745deb7a9d4bf26a6339a297c3c06bb12f5cc102.tar.bz2 |
[project @ 2006-01-08 01:51:33 by jmb]
Make data file locations user-configurable (no UI for this as yet)
Reduce intrusiveness of ncos modifications
Fix GTK build
Remove Cookies file details from Messages (this data never belonged in there anyway)
Make gui_init more robust against memory exhaustion.
svn path=/import/netsurf/; revision=2014
Diffstat (limited to 'riscos/options.h')
-rw-r--r-- | riscos/options.h | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/riscos/options.h b/riscos/options.h index 1c153c088..2a39aeb08 100644 --- a/riscos/options.h +++ b/riscos/options.h @@ -57,6 +57,14 @@ extern bool option_url_suggestion; extern int option_image_memory_direct; /* -1 means auto-detect */ extern int option_image_memory_compressed; /* -1 means auto-detect */ extern bool option_strip_extensions; +extern char *option_url_path; +extern char *option_url_save; +extern char *option_hotlist_path; +extern char *option_hotlist_save; +extern char *option_recent_path; +extern char *option_recent_save; +extern char *option_theme_path; +extern char *option_theme_save; #define EXTRA_OPTION_DEFINE \ bool option_use_mouse_gestures = false;\ @@ -98,7 +106,15 @@ bool option_block_popups = false; \ bool option_url_suggestion = true; \ int option_image_memory_direct = -1; \ int option_image_memory_compressed = -1; \ -bool option_strip_extensions = true; +bool option_strip_extensions = true; \ +char *option_url_path = 0; \ +char *option_url_save = 0; \ +char *option_hotlist_path = 0; \ +char *option_hotlist_save = 0; \ +char *option_recent_path = 0; \ +char *option_recent_save = 0; \ +char *option_theme_path = 0; \ +char *option_theme_save = 0; #define EXTRA_OPTION_TABLE \ { "use_mouse_gestures", OPTION_BOOL, &option_use_mouse_gestures },\ @@ -140,6 +156,14 @@ bool option_strip_extensions = true; { "url_suggestion", OPTION_BOOL, &option_url_suggestion }, \ { "image_memory_direct", OPTION_INTEGER, &option_image_memory_direct }, \ { "image_memory_compressed",OPTION_INTEGER, &option_image_memory_compressed }, \ -{ "strip_extensions", OPTION_BOOL, &option_strip_extensions } +{ "strip_extensions", OPTION_BOOL, &option_strip_extensions }, \ +{ "url_path", OPTION_STRING, &option_url_path }, \ +{ "url_save", OPTION_STRING, &option_url_save }, \ +{ "hotlist_path", OPTION_STRING, &option_hotlist_path }, \ +{ "hotlist_save", OPTION_STRING, &option_hotlist_save }, \ +{ "recent_path", OPTION_STRING, &option_recent_path }, \ +{ "recent_save", OPTION_STRING, &option_recent_save }, \ +{ "theme_path", OPTION_STRING, &option_theme_path }, \ +{ "theme_save", OPTION_STRING, &option_theme_save } #endif |