refs #581 Allow setting the timestamp when putting a value in the cache.

This commit is contained in:
Mathew Sutcliffe
2016-02-02 22:51:08 +00:00
parent 97fad301ae
commit e1b40f54cb
4 changed files with 8 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ namespace BlackMisc
const CVariant &getValue(const Element &element) const;
//! Write the value corresponding to the element's key and begin synchronizing it to any other pages.
CStatusMessage setValue(Element &element, const CVariant &value, bool save = false);
CStatusMessage setValue(Element &element, const CVariant &value, qint64 timestamp, bool save = false);
//! Get the key string corresponding to the element.
const QString &getKey(const Element &element) const;