sd-card-api.h 412 B

123456789101112131415161718192021222324
  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. char* selected_filename);
  16. void (*check_error)(SdApp* context);
  17. } SdCard_Api;
  18. #ifdef __cplusplus
  19. }
  20. #endif