8ce5af1be2
* sd-filesystem: add check error to api * sd-filesystem: call error check from file select * ibutton: process sd card error on key saving Co-authored-by: rusdacent <57439765+rusdacent@users.noreply.github.com> Co-authored-by: あく <alleteam@gmail.com>
23 lines
379 B
C
23 lines
379 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);
|
|
void (*check_error)(SdApp* context);
|
|
} SdCard_Api;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |