|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Lockscreen quick-action registry exposed to plugins. More...
#include "plugin_manager/host_api.h"#include "plugin_manager/Plugin.h"#include "plugin_manager/PluginManager.h"#include "plugin_manager/LockscreenRegistry.h"#include "plugin_manager/SlotTable.h"#include "cdc_views/ConfirmView.h"#include "cdc_ui/ViewStack.h"#include "host_str_conv.h"#include <cstring>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | cdc |
| namespace | cdc::plugin_manager |
Functions | |
| void * | plg_get_active_plugin (void) |
| uint8_t | cdc::plugin_manager::collectLockscreenItems (LockscreenRegistration *out, uint8_t max) |
| void | cdc::plugin_manager::clearLockscreenRegistrationFor (void *plugin) |
| int | host_lockscreen_register_action (const char *label_key, uint32_t action_id) |
| Publish (or replace) the plugin's lockscreen quick-action. | |
| int | host_lockscreen_unregister_action (void) |
| Remove the plugin's lockscreen quick-action. | |
| int | host_lockscreen_alert (const char *text, uint8_t icon, uint32_t action_id) |
| Raise a persistent Y/N alert over whatever is on screen, lock screen included, that stays until the user answers. | |
Lockscreen quick-action registry exposed to plugins.
Plugins call host_lockscreen_register_action() during plugin_init to add a single item to the lockscreen's context menu. The label is resolved via i18n at render time so it follows the active language without re-registration.
Definition in file host_api_lockscreen.cpp.
| void * plg_get_active_plugin | ( | void | ) |
Definition at line 24 of file plugin_log_bridge.cpp.
Referenced by host_lockscreen_alert(), host_lockscreen_register_action(), and host_lockscreen_unregister_action().