Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::ThemeApplyOutcome Struct Reference

One immutable owning completed Apply result, independent of the view lifetime. Both error slots preserve the complete original envelope. A callback failure never undoes a successful commit. More...

#include <theme_selector.hpp>

Public Member Functions

 ~ThemeApplyOutcome ()=default
 Retain fallible owning ID copies with checked standard-library configurations.

Public Attributes

std::string committedId = std::string(0, '\0')
 Successfully committed application catalog ID.
ThemeSelectorCloseDisposition closeDisposition {ThemeSelectorCloseDisposition::NOT_ATTEMPTED}
 Actual final state.
std::optional< ManagedError > callbackError
 Original optional persistence callback failure.
std::optional< ManagedError > closeError
 Independent full view-close failure; never replaces callback cleanup.

Detailed Description

One immutable owning completed Apply result, independent of the view lifetime. Both error slots preserve the complete original envelope. A callback failure never undoes a successful commit.


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