#pragma once #include #include #include #include #include "eth_worker.h" #include "eth_troubleshooter_icons.h" typedef enum { DRAW_ALL, DRAW_ONLY_TEXT, DRAW_ONLY_PICTURES, TOTAL_DRAW_MODES = 3, } DrawMode; typedef enum { PROCESS_INIT, PROCESS_DHCP, PROCESS_STATIC, PROCESS_PING, PROCESS_RESET, } DrawProcess; typedef enum { CURSOR_CHOOSE_PROCESS, CURSOR_CLICK_PROCESS, CURSOR_INSIDE_PROCESS, CURSOR_EXIT_ICON, CURSOR_EXIT, } CursorPosition; struct EthTroubleshooterApp { Gui* gui; ViewPort* view_port; FuriMessageQueue* event_queue; NotificationApp* notifications; EthWorker* eth_worker; Power* power; PowerInfo info; DrawMode draw_mode; DrawProcess draw_process; CursorPosition cursor_position; }; typedef struct EthTroubleshooterApp EthTroubleshooterApp;