#pragma once #include "gpio_app.h" #include "gpio_items.h" #include "scenes/gpio_scene.h" #include "gpio_custom_event.h" #include "usb_uart_bridge.h" #include #include #include #include #include #include #include #include #include "views/gpio_test.h" #include "views/gpio_usb_uart.h" #include struct GpioApp { Gui* gui; NotificationApp* notifications; ViewDispatcher* view_dispatcher; SceneManager* scene_manager; Widget* widget; DialogEx* dialog; VariableItemList* var_item_list; VariableItem* var_item_flow; GpioTest* gpio_test; GpioUsbUart* gpio_usb_uart; GPIOItems* gpio_items; UsbUartBridge* usb_uart_bridge; UsbUartConfig* usb_uart_cfg; }; typedef enum { GpioAppViewVarItemList, GpioAppViewGpioTest, GpioAppViewUsbUart, GpioAppViewUsbUartCfg, GpioAppViewUsbUartCloseRpc, GpioAppViewExitConfirm, } GpioAppView;