Ref T709, virtual function for timestamp setting

This commit is contained in:
Klaus Basan
2019-07-27 20:25:08 +02:00
committed by Mat Sutcliffe
parent 1440c4d2e9
commit 04e57df5f7
2 changed files with 15 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ namespace BlackMisc
//! Constructor.
CXSwiftBusSettingsQtFree();
//! Dtor
virtual ~CXSwiftBusSettingsQtFree() {}
//! DBus server
const std::string &getDBusServerAddress() const { return m_dBusServerAddress; }
@@ -66,6 +69,9 @@ namespace BlackMisc
//! Convert to string
std::string convertToString() const;
//! Sets timestamp to now
virtual void setCurrentUtcTime();
protected:
//! The JSON members @{
static constexpr char JsonDBusServerAddress[] = "dbusserveradress";