 769ab2aef2
			
		
	
	
		769ab2aef2
		
			
		
	
	
	
	
		
			
			* [FL-1489] IRDA: move to FileWorker, fixes * Use FileWorker * Use file_select to select remotes * Fix some crashes * Add RAW parsing restrictions * Remove excess scene (LearnDoneAfter) * Move all file system logic to standalone object
		
			
				
	
	
		
			28 lines
		
	
	
		
			460 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			460 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| #include <irda.h>
 | |
| #include <gui/modules/dialog_ex.h>
 | |
| 
 | |
| class IrdaAppEvent {
 | |
| public:
 | |
|     enum class Type : uint8_t {
 | |
|         Tick,
 | |
|         Exit,
 | |
|         Back,
 | |
|         MenuSelected,
 | |
|         DialogExSelected,
 | |
|         NextScene,
 | |
|         IrdaMessageReceived,
 | |
|         TextEditDone,
 | |
|         PopupTimer,
 | |
|         ButtonPanelPressed,
 | |
|     };
 | |
| 
 | |
|     union {
 | |
|         int32_t menu_index;
 | |
|         DialogExResult dialog_ex_result;
 | |
|     } payload;
 | |
| 
 | |
|     Type type;
 | |
| };
 | |
| 
 |