*/
static PrefParam param[] = {
+#ifdef MAEMO
+ {"data_root", "", &prefs_common.data_root, P_STRING,
+ NULL, NULL, NULL},
+#endif
/* Receive */
{"use_ext_inc", "FALSE", &prefs_common.use_extinc, P_BOOL,
NULL, NULL, NULL},
{
return prefs_common.enable_log_status;
}
+
+#ifdef MAEMO
+const gchar *prefs_common_get_data_root(void)
+{
+ if (prefs_common.data_root && *prefs_common.data_root)
+ return prefs_common.data_root;
+ else
+ return NULL;
+}
+#endif
/**
return the translated name of a header, if the translate_header option is
set, otherwise return the untranslated header name (header_name itself).