quac.c 647 B

123456789101112131415161718192021222324
  1. #include "flipper.h"
  2. #include "app_state.h"
  3. #include "scenes/scenes.h"
  4. #include "scenes/scene_items.h"
  5. /* generated by fbt from .png files in images folder */
  6. #include <quac_icons.h>
  7. int32_t quac_app(void* p) {
  8. UNUSED(p);
  9. FURI_LOG_I(TAG, "QUAC QUAC!!");
  10. App* app = app_alloc();
  11. // initialize any app state
  12. Gui* gui = furi_record_open(RECORD_GUI);
  13. view_dispatcher_attach_to_gui(app->view_dispatcher, gui, ViewDispatcherTypeFullscreen);
  14. scene_manager_next_scene(app->scene_manager, SR_Scene_Items);
  15. view_dispatcher_run(app->view_dispatcher);
  16. furi_record_close(RECORD_GUI);
  17. app_free(app);
  18. return 0;
  19. }