diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-02-02 05:07:20 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:11:28 +0300 |
commit | ecd556478208f184cccba01d268dc05c0f393f2d (patch) | |
tree | 00a8418db07a8737aa3831bd45e69f90f10ac447 /map/navigator.hpp | |
parent | b527df97c12289d64d8c5e6949d64bf4a50b0095 (diff) |
Refactored settings engine
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r-- | map/navigator.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp index 054858dba0..9d57ea810a 100644 --- a/map/navigator.hpp +++ b/map/navigator.hpp @@ -20,8 +20,9 @@ public: void SetFromRect(m2::RectD const & r); void CenterViewport(m2::PointD const & p); - void SaveState(FileWriter & writer); - void LoadState(ReaderSource<FileReader> & reader); + void SaveState(); + /// @return false if can't load previously saved values + bool LoadState(); void OnSize(int x0, int y0, int w, int h); |