CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
PluginUiState.h File Reference

Singleton that owns plugin-pushed UI views (lists, confirms, inputs). More...

#include "plugin_manager/Raii.h"
#include "plugin_manager/host_api.h"
#include "cdc_views/ConfirmView.h"
#include "cdc_views/ListView.h"
#include "cdc_views/ContextMenuView.h"
#include "cdc_views/T9InputView.h"
#include "cdc_views/PinEntryView.h"
#include "cdc_views/SliderView.h"
#include "cdc_views/ColorPickerView.h"
#include "cdc_views/DateInputView.h"
#include "cdc_views/TimeInputView.h"
#include "cdc_views/CanvasView.h"
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  cdc::plugin_manager::PluginUiState

Namespaces

namespace  cdc
namespace  cdc::plugin_manager

Detailed Description

Singleton that owns plugin-pushed UI views (lists, confirms, inputs).

Bridges between the host_ui_* C-API surface called from WASM and the cdc::ui::ViewStack. Holds the per-view callback wiring + the small amount of mutable state the host needs (last entered text/int/date/time, the exclusive-lock token, and the inactivity action id) so host_api_ui_views.cpp stays a thin extern-C adapter.

Definition in file PluginUiState.h.