js8call/DriftingDateTime.h
2018-09-18 17:24:07 -04:00

22 lines
412 B
C++

#ifndef DRIFTINGDATETIME_H
#define DRIFTINGDATETIME_H
#include <QDateTime>
class DriftingDateTime /*: QDateTime*/
{
public:
static QDateTime currentDateTime();
static QDateTime currentDateTimeUtc();
static qint64 currentMSecsSinceEpoch();
static qint64 drift();
static void setDrift(qint64 ms);
static qint64 incrementDrift(qint64 msdelta);
private:
};
#endif // DRIFTINGDATETIME_H