 389ff92cc1
			
		
	
	
		389ff92cc1
		
			
		
	
	
	
	
		
			
			* Makefile, Scripts: new linter * About: remove ID from IC * Firmware: remove double define for DIVC/DIVR * Scripts: check folder names too. Docker: replace syntax check with make lint. * Reformat Sources and Migrate to new file naming convention * Docker: symlink clang-format-12 to clang-format * Add coding style guide
		
			
				
	
	
		
			36 lines
		
	
	
		
			830 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			830 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include "gpio_app.h"
 | |
| #include "gpio_item.h"
 | |
| #include "scenes/gpio_scene.h"
 | |
| #include "gpio_custom_event.h"
 | |
| #include "usb_uart_bridge.h"
 | |
| 
 | |
| #include <gui/gui.h>
 | |
| #include <gui/view_dispatcher.h>
 | |
| #include <gui/scene_manager.h>
 | |
| #include <gui/modules/submenu.h>
 | |
| #include <notification/notification_messages.h>
 | |
| #include <gui/modules/variable_item_list.h>
 | |
| #include "views/gpio_test.h"
 | |
| #include "views/gpio_usb_uart.h"
 | |
| 
 | |
| struct GpioApp {
 | |
|     Gui* gui;
 | |
|     NotificationApp* notifications;
 | |
|     ViewDispatcher* view_dispatcher;
 | |
|     SceneManager* scene_manager;
 | |
| 
 | |
|     VariableItemList* var_item_list;
 | |
|     GpioTest* gpio_test;
 | |
|     GpioUsbUart* gpio_usb_uart;
 | |
|     UsbUartBridge* usb_uart_bridge;
 | |
| };
 | |
| 
 | |
| typedef enum {
 | |
|     GpioAppViewVarItemList,
 | |
|     GpioAppViewGpioTest,
 | |
|     GpioAppViewUsbUart,
 | |
|     GpioAppViewUsbUartCfg,
 | |
| } GpioAppView;
 |