mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-25 04:03:07 +00:00
fc5c48edef
* GUI module submenu: fix documentation * GUI module submenu: add submenu_set_selected_item fn * App iButton: use submenu_set_selected_item to store and set selected item in submenu * App iButton: swap write and emulate in "saved key menu" scene * App iButton: file select can now switch to the previous selected file * App iButton: swap write and emulate indexes in "saved key menu" scene Co-authored-by: あく <alleteam@gmail.com>
24 lines
No EOL
412 B
C
24 lines
No EOL
412 B
C
#pragma once
|
|
#include <furi.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct SdApp SdApp;
|
|
|
|
typedef struct {
|
|
SdApp* context;
|
|
bool (*file_select)(
|
|
SdApp* context,
|
|
const char* path,
|
|
const char* extension,
|
|
char* result,
|
|
uint8_t result_size,
|
|
char* selected_filename);
|
|
void (*check_error)(SdApp* context);
|
|
} SdCard_Api;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |