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

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::ui
 Centralized key-code constants for cdc_views.

Functions

void cdc::ui::setHtmlViewer (HtmlViewerFn fn)
 Register the HTML viewer (called by the provider module at init).
HtmlViewerFn cdc::ui::htmlViewer ()
 Current HTML viewer, or nullptr when none is registered.
void cdc::ui::setUrlOpener (UrlOpenerFn fn)
 Register the URL opener (called by the browser module at init).
UrlOpenerFn cdc::ui::urlOpener ()
 Current URL opener, or nullptr when none is registered.
void cdc::ui::setImageOpener (ImageOpenerFn fn)
 Register the local-image opener (called by the file explorer at init).
ImageOpenerFn cdc::ui::imageOpener ()
 Current image opener, or nullptr when none is registered.