Implement IComponentHandler::performEdit()

This commit is contained in:
Robbert van der Helm
2020-12-19 15:45:24 +01:00
parent 3b06bca95e
commit bb99a539d5
6 changed files with 46 additions and 6 deletions
+3 -2
View File
@@ -105,8 +105,9 @@ void serialize(S& s, ControlRequest& payload) {
* information we want or the operation we want to perform. A request of type
* `CallbackRequest(T)` should send back a `T::Response`.
*/
using CallbackRequest =
std::variant<WantsConfiguration, YaComponentHandler::BeginEdit>;
using CallbackRequest = std::variant<WantsConfiguration,
YaComponentHandler::BeginEdit,
YaComponentHandler::PerformEdit>;
template <typename S>
void serialize(S& s, CallbackRequest& payload) {