24 static void configure(
const char*
const* titleKeys,
const char* savedKey,
25 const char* failedKey);
Wizard for creating or editing the device owner's vCard via the GUI.
static void start(ui::IView *returnAnchor)
Starts the wizard with an empty struct.
static void editReceived(ui::IView *returnAnchor, uint16_t slot, DoneCallback onDone)
Starts the wizard prefilled with a stored contact for editing.
static void configure(const char *const *titleKeys, const char *savedKey, const char *failedKey)
Configures the wizard with i18n keys. Must be called before start() or edit() so step titles can be l...
static void startReceived(ui::IView *returnAnchor, DoneCallback onDone)
Starts the wizard to create a new stored contact (received list).
void(*)() DoneCallback
Callback fired after a successful save, before returning to the anchor view. Lets the caller refresh ...
static void edit(ui::IView *returnAnchor)
Starts the wizard prefilled with the currently stored own vCard. Falls back to start() when no vCard ...