|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
What a frontend mounts once its source is open: the app shell and its screens, or a view of why the source did not open. Destroying it unmounts all of it. More...
#include <frontend.hpp>
Public Member Functions | |
| MountedShell (MountedShell const &)=delete | |
| MountedShell & | operator= (MountedShell const &)=delete |
| MountedShell (MountedShell &&)=delete | |
| MountedShell & | operator= (MountedShell &&)=delete |
| virtual void | inspectFocused (std::function< void(Inspector &inspector)> const &visit) |
Hands the development inspector over the focused screen to visit, before returning (spec 6 §21). A frontend's inspector window calls it each time it shows the screen. The default has no screen to inspect and calls nothing. | |
What a frontend mounts once its source is open: the app shell and its screens, or a view of why the source did not open. Destroying it unmounts all of it.
Definition at line 387 of file frontend.hpp.
|
inlinevirtual |
Hands the development inspector over the focused screen to visit, before returning (spec 6 §21). A frontend's inspector window calls it each time it shows the screen. The default has no screen to inspect and calls nothing.
| visit | Called at most once, with the inspector; it must not keep it past the call. |
Definition at line 400 of file frontend.hpp.