Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::ContractEditorSession::HostHooks Struct Reference

What the adapter does for the editor's context. More...

#include <contract_editor_session.hpp>

Public Attributes

std::function< bool(const EditorSize &)> request_resize
 Ask the host to resize its window to size.
std::function< bool(const HostActionRequest &)> host_action
 Take a host action. Null declines every action.

Detailed Description

What the adapter does for the editor's context.

Member Data Documentation

◆ host_action

std::function<bool(const HostActionRequest&)> pulp::format::ContractEditorSession::HostHooks::host_action

Take a host action. Null declines every action.

◆ request_resize

std::function<bool(const EditorSize&)> pulp::format::ContractEditorSession::HostHooks::request_resize

Ask the host to resize its window to size.

True when it accepted. Null: the host cannot resize.


The documentation for this struct was generated from the following file: