A framework-agnostic host command channel. More...
#include <host_surfaces.hpp>
Public Member Functions | |
| virtual | ~HostActionSurface ()=default |
| bool | send_host_action (std::string_view action, std::string_view args_json) |
Protected Member Functions | |
| virtual bool | do_send_host_action (std::string_view action, std::string_view args_json)=0 |
A framework-agnostic host command channel.
A view calls send_host_action("insert_slot", R"({"index":2})") and the host routes it; the bool is a routing/diagnostic signal (log/assert on unhandled), NEVER control flow. Return payloads and async completion are deliberately deferred until two real consumers need them. The action/args_json vocabulary matches NativeImportHostActionDescriptor so the import lane and the runtime lane stay one concept.
|
virtualdefault |
|
protectedpure virtual |
|
inline |