summaryrefslogtreecommitdiff
path: root/src/timedate.h
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-06-21 16:07:28 +0200
committerEugen Wissner <belka@caraus.de>2024-06-21 16:07:28 +0200
commitcbbefae2849b9f7df8d4e41f1e535d5419799a82 (patch)
treef65ba846cabd80403654b685a484b643d2236339 /src/timedate.h
parent6fc7f86a89dbcbe1e36ade37c61d4a974be81596 (diff)
downloadslack-timedate-cbbefae2849b9f7df8d4e41f1e535d5419799a82.tar.gz
Add the NTPSynchronized property
Diffstat (limited to 'src/timedate.h')
-rw-r--r--src/timedate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timedate.h b/src/timedate.h
index 40f149a..2b2d1a2 100644
--- a/src/timedate.h
+++ b/src/timedate.h
@@ -40,6 +40,9 @@ namespace dlackware::timedate
// Returns whether NTP is available.
bool can_ntp();
+ // Shows whether the kernel reports the time as synchronized.
+ bool ntp_synchronized();
+
// Returns the timezones available on the system.
std::vector<Glib::ustring> list_timezones();