Separated waiting for message from acting on message.
Necessary refactoring of parameter types propagated through source.
This commit is contained in:
@@ -27,6 +27,6 @@ struct U2F_CMD
|
||||
|
||||
public:
|
||||
virtual ~U2F_CMD() = default;
|
||||
static std::shared_ptr<U2F_CMD> get(const std::shared_ptr<U2FMessage> uMsg);
|
||||
static std::shared_ptr<U2F_CMD> get(const U2FMessage& uMsg);
|
||||
virtual void respond(const uint32_t channelID) const = 0;
|
||||
}; //For polymorphic type casting
|
||||
|
||||
Reference in New Issue
Block a user