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

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::plugin_manager

Functions

static void cdc::plugin_manager::onCtxStop ()
 Context-menu Stop callback: force-unloads the selected plugin.
static void cdc::plugin_manager::onCtxDisable ()
 Context-menu Disable callback: persistently disables and unloads.
static void cdc::plugin_manager::onCtxEnable ()
 Context-menu Enable callback: removes the persistent disabled marker.
static void cdc::plugin_manager::reportStartResult (StartResult result)
 Show a toast describing a non-Ok plugin start result.
static void cdc::plugin_manager::onCtxStart ()
 Context-menu Start callback: starts the selected (stopped) plugin.

Variables

static const char * cdc::plugin_manager::TAG = "PLG_UI"
static PluginListViewcdc::plugin_manager::s_active = nullptr
static std::string cdc::plugin_manager::s_ctxPluginId
static cdc::ui::ContextMenuItem cdc::plugin_manager::s_ctxItems [2]