scene_file_browser.h 610 B

12345678910111213141516171819
  1. #pragma once
  2. typedef struct SubGhzPlaylistCreator SubGhzPlaylistCreator;
  3. // Callback type for file selection
  4. typedef void (*SceneFileBrowserSelectCallback)(SubGhzPlaylistCreator* app, const char* path);
  5. // Launch file browser scene, call on_select when a file is selected
  6. void scene_file_browser_select(
  7. SubGhzPlaylistCreator* app,
  8. const char* start_dir,
  9. const char* extension,
  10. SceneFileBrowserSelectCallback on_select
  11. );
  12. void scene_file_browser_show(SubGhzPlaylistCreator* app);
  13. // Add missing init view function declaration
  14. void scene_file_browser_init_view(SubGhzPlaylistCreator* app);