sd-card-api.h 379 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include <furi.h>
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. typedef struct SdApp SdApp;
  7. typedef struct {
  8. SdApp* context;
  9. bool (*file_select)(
  10. SdApp* context,
  11. const char* path,
  12. const char* extension,
  13. char* result,
  14. uint8_t result_size);
  15. void (*check_error)(SdApp* context);
  16. } SdCard_Api;
  17. #ifdef __cplusplus
  18. }
  19. #endif