diff options
author | FlashSystems <developer@flashsystems.de> | 2017-11-25 11:20:32 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-12-18 23:39:01 +0100 |
commit | 64d141f71e690a4258ba9ee8712140bc9d961883 (patch) | |
tree | 234ab717117fbefcd8317dafe4ee6eec7a85ff75 /src/StateFile.hxx | |
parent | c488d3123f33fe28525c2b8b229aaae2f9d4dc06 (diff) |
Save and restore mountpoints within the state file.
Signed-off-by: FlashSystems <developer@flashsystems.de>
Diffstat (limited to 'src/StateFile.hxx')
-rw-r--r-- | src/StateFile.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/StateFile.hxx b/src/StateFile.hxx index 342a20c22..b10a7e040 100644 --- a/src/StateFile.hxx +++ b/src/StateFile.hxx @@ -46,6 +46,10 @@ class StateFile final : private TimeoutMonitor { unsigned prev_volume_version = 0, prev_output_version = 0, prev_playlist_version = 0; +#ifdef ENABLE_DATABASE + unsigned prev_storage_version = 0; +#endif + public: static constexpr std::chrono::steady_clock::duration DEFAULT_INTERVAL = std::chrono::minutes(2); |