Definition IEngineLease.hpp:20
virtual void * engine() const =0
Borrow the current engine while this lease is alive.
virtual ~IEngineLease()=default
Release the lease on the GUI thread without closing the borrowed engine.
Public header-only ABI for independently compiled native GUI extensions.
Definition ExtensionHost.hpp:24
LeaseKind
Requested access to a GUI-owned model engine.
Definition IEngineLease.hpp:14
@ Write
Exclusive native access, excluding all other leases and runs.
@ Read
Shared read access, excluding runs and any writer.