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

Owning point-in-time read model; IDs do not claim the identity of an external theme. Retained snapshots are immutable observations, not live status subscriptions. More...

#include <theme_selection.hpp>

Public Member Functions

 ~ThemeSelectionSnapshot ()=default
 Keep owning ID transfers fallible.

Public Attributes

std::shared_ptr< const ThemeCatalog > catalog
 Fixed normalized catalog, usable after scene shutdown.
ThemeSelectionStatus status {ThemeSelectionStatus::IDLE}
 Current preview authority status.
std::optional< std::string > previewedId
 Installed choice when ACTIVE; historical choice when SUPERSEDED.
std::optional< std::string > lastCommittedId
 Historical successful application choice; absent initially.
std::optional< std::string > requestedId
 Latest explicit prepared intent, independent of the installed preview.
bool preparing {}
 Current prepared intent is waiting for admission, work or UI delivery.
std::optional< ManagedError > preparationError
 Exact latest preparation/install failure; absent on success.

Detailed Description

Owning point-in-time read model; IDs do not claim the identity of an external theme. Retained snapshots are immutable observations, not live status subscriptions.


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