2021-03-24 09:30:29 +00:00
|
|
|
#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,
|
2021-05-25 11:04:22 +00:00
|
|
|
uint8_t result_size,
|
|
|
|
char* selected_filename);
|
2021-04-07 07:37:10 +00:00
|
|
|
void (*check_error)(SdApp* context);
|
2021-05-26 16:50:16 +00:00
|
|
|
void (*show_error)(SdApp* context, const char* error_text);
|
2021-03-24 09:30:29 +00:00
|
|
|
} SdCard_Api;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|