#pragma once #include "helpers/avr_isp_types.h" #include #include "scenes/avr_isp_scene.h" #include #include #include #include #include #include #include #include #include #include #include "views/avr_isp_view_programmer.h" #include "views/avr_isp_view_reader.h" #include "views/avr_isp_view_writer.h" #include "views/avr_isp_view_chip_detect.h" #define AVR_ISP_MAX_LEN_NAME 64 typedef struct { Gui* gui; ViewDispatcher* view_dispatcher; SceneManager* scene_manager; NotificationApp* notifications; DialogsApp* dialogs; Popup* popup; Submenu* submenu; Widget* widget; TextInput* text_input; FuriString* file_path; char file_name_tmp[AVR_ISP_MAX_LEN_NAME]; AvrIspProgrammerView* avr_isp_programmer_view; AvrIspReaderView* avr_isp_reader_view; AvrIspWriterView* avr_isp_writer_view; AvrIspChipDetectView* avr_isp_chip_detect_view; AvrIspError error; } AvrIspApp; bool avr_isp_load_from_file(AvrIspApp* app);