diff --git a/ui/fullscreen.html b/ui/fullscreen.html index 2b16e546..d9bdd99f 100755 --- a/ui/fullscreen.html +++ b/ui/fullscreen.html @@ -37,6 +37,8 @@ body { + + diff --git a/ui/persistance.js b/ui/persistance.js new file mode 100755 index 00000000..863ac561 --- /dev/null +++ b/ui/persistance.js @@ -0,0 +1,30 @@ +/* + * Here we will need several levels of storage: + * - state + * this can be anything including file or localstorage. + * this is stored in a unified location. + * global per user/instance + * - progress + * this is stored in file location as local config file. + * + */ + +function loadJSONfile(path){ + // XXX CEF (file) - binding + if(CEF_loadJSON != null){ + return CEF_loadJSON(path) + } + // XXX PhoneGap (file) - binding + // XXX browser - open file dialog +} + +function dumpJSONfile(path, value){ + // XXX CEF (file) - binding + if(CEF_dumpJSON != null){ + return CEF_dumpJSON(path, value) + } + // XXX PhoneGap (file) - binding + // XXX browser - download file dialog +} + +