3#include "base/remote_handler.h"
4#include "imgui/imgui.h"
5#include "imgui/imgui_internal.h"
11 class TestRemoteHandlerHandler :
public RemoteHandlerHandler
17 bool mustUpdate =
true;
18 void handle_stream_data(std::string
id, uint8_t *data,
size_t size)
25 TestRemoteHandlerHandler(std::shared_ptr<RemoteHandlerBackend> bkd) : RemoteHandlerHandler(bkd) {}
26 ~TestRemoteHandlerHandler() {}
33 ImGui::ClearActiveID();
35 val = bkd->get_cfg(
"val");
40 if (ImGui::InputDouble(
"Val", &val))
41 bkd->set_cfg(
"val", val);
45 std::string
getName() {
return "RemoteHandleTest"; }
47 std::string getID() {
return "remote_test_handler"; }
std::string getName()
Get this handler's readable name.
Definition testremote.h:45
void drawMenu()
Render explorer menu left sidebar.
Definition testremote.h:29
void drawContents(ImVec2 win_size)
Render explorer contents (center/left)
Definition testremote.h:43