projects
/
yandex-traffic
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change update interval according to settings. Perform extended check for connection.
[yandex-traffic]
/
settings.hpp
diff --git
a/settings.hpp
b/settings.hpp
index
1fd19ef
..
28fb78f
100644
(file)
--- a/
settings.hpp
+++ b/
settings.hpp
@@
-59,6
+59,9
@@
public:
void setUpdateIntervalIndex (int index)
{ _updateIntervalIndex = index; };
+
+ int updateInterval () const
+ { return intervalIndex2Minutes (_updateIntervalIndex); };
};