#pragma once #include #include "U2FMessage.hpp" struct U2F_CMD { protected: U2F_CMD() = default; public: virtual ~U2F_CMD() = default; static std::shared_ptr get(const std::shared_ptr uMsg); virtual void respond(const uint32_t channelID) const = 0; }; //For polymorphic type casting