threads and frames

This commit is contained in:
T0b1
2023-06-02 16:54:00 +02:00
parent ac3718b12b
commit ec2eeb10f7
12 changed files with 665 additions and 17 deletions

View File

@@ -24,4 +24,30 @@ void Backend::send_reg_change(BackToFront::RegsChanged &&info)
auto msg = std::make_unique<BackToFront::Msg>(
BackToFront::MsgType::regs_changed, std::move(info));
this->send_msg(std::move(msg));
}
void Backend::send_thread_change(BackToFront::ThreadChange &&info)
{
auto msg = std::make_unique<BackToFront::Msg>(
BackToFront::MsgType::thread_changed, std::move(info));
this->send_msg(std::move(msg));
}
void Backend::send_thread_removed(BackToFront::ThreadRemoved &&info)
{
auto msg = std::make_unique<BackToFront::Msg>(
BackToFront::MsgType::thread_removed, std::move(info));
this->send_msg(std::move(msg));
}
void Backend::send_frame_changed(BackToFront::FrameChanged &&info)
{
auto msg = std::make_unique<BackToFront::Msg>(
BackToFront::MsgType::frame_changed, std::move(info));
this->send_msg(std::move(msg));
}
void Backend::send_frame_removed(BackToFront::FrameRemoved &&info)
{
auto msg = std::make_unique<BackToFront::Msg>(
BackToFront::MsgType::frame_removed, std::move(info));
this->send_msg(std::move(msg));
}