summaryrefslogtreecommitdiff
path: root/src/timedate.h
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-06-19 12:11:56 +0200
committerEugen Wissner <belka@caraus.de>2024-06-19 12:11:56 +0200
commit6fc7f86a89dbcbe1e36ade37c61d4a974be81596 (patch)
tree369c812aca2144dcb13201199a4cc05d1a868d64 /src/timedate.h
parent9dc8fb26405938834b13971c3188f4f52bb8b90d (diff)
downloadslack-timedate-6fc7f86a89dbcbe1e36ade37c61d4a974be81596.tar.gz
Implement CanNTP property
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();