altoslib: add AltosPreferences state save/restore interfaces
authorKeith Packard <keithp@keithp.com>
Sun, 16 Nov 2014 06:50:31 +0000 (22:50 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 16 Nov 2014 06:50:31 +0000 (22:50 -0800)
This serializes an entire AltosState object and stores it in the
preferences database for later retrieval. AltosDroid uses this to
recover the old state data when restarting.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found