summaryrefslogtreecommitdiff
path: root/src/timedate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timedate.h')
-rw-r--r--src/timedate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/timedate.h b/src/timedate.h
index 49883f9..40f149a 100644
--- a/src/timedate.h
+++ b/src/timedate.h
@@ -34,9 +34,12 @@ namespace dlackware::timedate
// Returns if the hardware clock is set to local time or not
bool local_rtc();
- // Returns if NTP is enabled
+ // Returns whether NTP is enabled.
bool ntp();
+ // Returns whether NTP is available.
+ bool can_ntp();
+
// Returns the timezones available on the system.
std::vector<Glib::ustring> list_timezones();