| 12345678910111213141516171819202122232425262728 |
- #include "../mfc_editor_app_i.h"
- void mfc_editor_scene_file_select_on_enter(void* context) {
- MfcEditorApp* instance = context;
- if(mfc_editor_prompt_load_file(instance)) {
- if(nfc_device_get_protocol(instance->nfc_device) == NfcProtocolMfClassic) {
- FURI_LOG_I(
- TAG, "Valid MFC file selected at '%s'", furi_string_get_cstr(instance->file_path));
- } else {
- FURI_LOG_I(
- TAG,
- "Invalid MFC file selected at '%s'",
- furi_string_get_cstr(instance->file_path));
- }
- }
- scene_manager_previous_scene(instance->scene_manager);
- }
- bool mfc_editor_scene_file_select_on_event(void* context, SceneManagerEvent event) {
- UNUSED(context);
- UNUSED(event);
- return false;
- }
- void mfc_editor_scene_file_select_on_exit(void* context) {
- UNUSED(context);
- }
|