summaryrefslogtreecommitdiff
path: root/src/timer_state.cc
AgeCommit message (Collapse)Author
2021-02-02Be explicit in types used in dbusJoel Klinghed
Cast to uint32_t for total and int64_t for epoch to be libc++ and environment agnostic.
2021-02-02Fix dbus signature of get_state methodJoel Klinghed
Forgot to update signature when switching from double, double to uint32_t, time_t. Also change time_t to int64_t as time_t can have different sizes.
2021-02-02Handle empty state fileJoel Klinghed
If no file exists an empty one is created, do not error out if that is the case.
2021-01-27Complete rewrite using C++ and with shared state supportJoel Klinghed