morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::HostCommandResult Struct Reference

What running a host command (host/1) did. More...

#include <interpreter.hpp>

Public Types

enum class  Kind : std::uint8_t { Ran , Missing , Refused }
 The outcome. More...

Public Attributes

Kind kind = Kind::Ran
 The outcome.
std::string reason
 Why it was refused; empty otherwise.

Detailed Description

What running a host command (host/1) did.

Definition at line 862 of file interpreter.hpp.

Member Enumeration Documentation

◆ Kind

enum class morph::ui::HostCommandResult::Kind : std::uint8_t
strong

The outcome.

Enumerator
Ran 

The command ran.

Missing 

The client has no such command; nothing ran.

Refused 

The command exists and did not run: its arguments, or a connection that is not verified.

Definition at line 864 of file interpreter.hpp.

Member Data Documentation

◆ kind

Kind morph::ui::HostCommandResult::kind = Kind::Ran

The outcome.

Definition at line 870 of file interpreter.hpp.

◆ reason

std::string morph::ui::HostCommandResult::reason

Why it was refused; empty otherwise.

Definition at line 872 of file interpreter.hpp.


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