Go to the documentation of this file. 1 #ifndef HARDWAREPROFILE_H_
2 #define HARDWAREPROFILE_H_
25 static void Disable(
void);
27 void GenerateUUIDs(
void);
29 static QString GetPrivateUUIDFromFile(
void) ;
30 static bool WritePrivateUUIDToFile(
const QString &uuid);
31 QString GetPublicUUIDFromFile(
void)
const;
32 static QString GetAdminPasswordFromFile(
void) ;
34 bool NeedsUpdate(
void)
const;
35 bool SubmitProfile(
bool updateTime=
true);
36 bool DeleteProfile(
void);
41 QString GetProfileURL(
void)
const;
42 static QString GetHardwareProfile(
void) ;
45 bool m_enabled {
false};
61 bool DoCheckRun(
const QDateTime& now)
override;
62 bool DoRun(
void)
override;
QString m_hardwareProfile
QDateTime GetLastUpdate(void) const
@ kHKRunOnStartup
task is queued when HouseKeeper is started
bool DoCheckRun(const QDateTime &now) override
HardwareProfileTask(void)
@ kHKLocal
task should only run once per machine e.g.
Modified HouseKeeperTask for tasks to be run at a regular interval.
QString GetPublicUUID(void) const
QString GetPrivateUUID(void) const
const QString SMOLT_TOKEN
const QString SMOLT_SERVER_LOCATION