GUI M8f: Event-driven updates, deferred link restoration, routing rules UI
This commit is contained in:
parent
e8d3f63f4d
commit
b819d6fd65
6 changed files with 440 additions and 121 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
|
@ -203,6 +204,9 @@ class Client {
|
|||
Status SaveConfig(std::string_view path);
|
||||
Status LoadConfig(std::string_view path);
|
||||
|
||||
using ChangeCallback = std::function<void()>;
|
||||
void SetChangeCallback(ChangeCallback callback);
|
||||
|
||||
#ifdef WARPPIPE_TESTING
|
||||
Status Test_InsertNode(const NodeInfo& node);
|
||||
Status Test_InsertPort(const PortInfo& port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue