mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #644 Add method CCached::save, like setAndSave but using the currently set value.
Implemented with a flag in CValueCachePacket to indicate a request to save only.
This commit is contained in:
@@ -69,7 +69,7 @@ namespace BlackMisc
|
||||
CVariant getValueCopy(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, qint64 timestamp, bool save = false);
|
||||
CStatusMessage setValue(Element &element, CVariant value, qint64 timestamp, bool save = false, bool ignoreValue = false);
|
||||
|
||||
//! Get the key string corresponding to the element.
|
||||
const QString &getKey(const Element &element) const;
|
||||
|
||||
Reference in New Issue
Block a user