Save immediately on persistent state modification.

Modifications for #6.
This commit is contained in:
Michael Kuc
2019-08-29 16:20:42 +01:00
parent ad250d14e3
commit aeb9c89be8
9 changed files with 28 additions and 4 deletions

View File

@@ -28,4 +28,5 @@ public:
virtual ~U2F_CMD() = default;
static std::shared_ptr<U2F_CMD> get(const std::shared_ptr<U2FMessage> uMsg);
virtual void respond(const uint32_t channelID) const = 0;
virtual bool modifiesPersistentState() const = 0;
}; // For polymorphic type casting