Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/auxiliary/weather.cpp
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | |||||
59 | 59 | | |||
60 | quint16 Weather::getUpdatePeriod() | 60 | quint16 Weather::getUpdatePeriod() | ||
61 | { | 61 | { | ||
62 | if (currentWeather == nullptr) | 62 | if (currentWeather == nullptr) | ||
63 | return 0; | 63 | return 0; | ||
64 | 64 | | |||
65 | return currentWeather->getUpdatePeriod(); | 65 | return currentWeather->getUpdatePeriod(); | ||
66 | } | 66 | } | ||
67 | | ||||
68 | bool Weather::refresh() | ||||
69 | { | ||||
70 | return currentWeather->refresh(); | ||||
71 | | ||||
72 | } | ||||
73 | | ||||
67 | } | 74 | } |