diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-11-28 12:39:14 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-11-28 12:39:14 +0100 |
commit | 0b9cf8c968a89784b5c2b8afe1a819b33749165e (patch) | |
tree | 7153fc8fe5447ee710ce689352db6e0e3b8849cc /doc/Development/Session.asciidoc | |
parent | Add Session::view and Session::restoreView (diff) | |
download | smolbote-0b9cf8c968a89784b5c2b8afe1a819b33749165e.tar.xz |
Rewrite Session saving and loading
Diffstat (limited to 'doc/Development/Session.asciidoc')
-rw-r--r-- | doc/Development/Session.asciidoc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/Development/Session.asciidoc b/doc/Development/Session.asciidoc new file mode 100644 index 0000000..846d6a3 --- /dev/null +++ b/doc/Development/Session.asciidoc @@ -0,0 +1,19 @@ +== Session + +== Session JSON structure +- windows: list of windows + +=== Window +- subwindows: list of subwindows + +=== Subwindow +- profile: profile ID +- tabs: list of views +- current: current tab index + +=== View +- profile: profile ID +- history: view history + +Storing history: compress, toBase64 (to make printable), toQString (to store in json) +Restoring history: toLatin1 (turn into bytearray), fromBase64, uncompress |