mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-24 05:48:08 +03:00
7a13391b2b
* File worker: file operations helper. * Notification app: removed yield * File worker: write operations, calls to system file widgets * App ibutton: use file worker * Lfrfid: generic key loading, add path helper and hex conversion to lib * FileWorker: plain C verison * FileWorker: add to lib.mk * FileWorker: add to C sources, instead of CPP * Lfrfid: save scene * App lfrfid: add key scene, saved key menu * App lfrfid: saved key info scene * App lfrfid: delete key scene
13 lines
400 B
C++
13 lines
400 B
C++
#pragma once
|
|
#include "../lfrfid-app.h"
|
|
|
|
class LfRfidAppSceneSavedKeyMenu : public GenericScene<LfRfidApp> {
|
|
public:
|
|
void on_enter(LfRfidApp* app, bool need_restore) final;
|
|
bool on_event(LfRfidApp* app, LfRfidApp::Event* event) final;
|
|
void on_exit(LfRfidApp* app) final;
|
|
|
|
private:
|
|
static void submenu_callback(void* context, uint32_t index);
|
|
uint32_t submenu_item_selected = 0;
|
|
}; |