MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / setLastUse

Method setLastUse

sources/db/InstanceTable.cpp:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void InstanceTable::setLastUse(quint8 inst)
118{
119 VectorPair cond;
120 cond.append(CPair("instance", inst));
121 QVariantMap map;
122 map["last_use"] = QDateTime::currentDateTimeUtc().toString(Qt::ISODate);
123 updateRecord(cond, map);
124}
125
126void InstanceTable::setEnable(quint8 inst, bool newState)
127{

Callers 1

startInstanceMethod · 0.80

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected