primitive locals

This commit is contained in:
T0b1
2023-06-17 01:12:11 +02:00
parent 9ab08de243
commit 679e38e711
13 changed files with 1778 additions and 78 deletions

View File

@@ -58,7 +58,7 @@ void Backend::send_data_result(BackToFront::DataResult &&info)
BackToFront::MsgType::data_result, std::move(info));
this->send_msg(std::move(msg));
}
void Backend::remove_data_node(uint16_t idx)
void Backend::send_remove_data_node(uint16_t idx)
{
auto msg = std::make_unique<BackToFront::Msg>(
BackToFront::MsgType::remove_data_node,
@@ -78,4 +78,10 @@ void Backend::send_selected_frame_changed(uint16_t idx)
BackToFront::MsgType::selected_frame_changed,
BackToFront::SelectedFrameChanged{.idx = idx});
this->send_msg(std::move(msg));
}
void Backend::send_type_info(BackToFront::TypeInfo &&info)
{
auto msg = std::make_unique<BackToFront::Msg>(BackToFront::MsgType::type_info,
std::move(info));
this->send_msg(std::move(msg));
}