 b9a766d909
			
		
	
	
		b9a766d909
		
	
	
	
	
		
			
			* Added support for running applications from SD card (FAPs - Flipper Application Packages) * Added plugin_dist target for fbt to build FAPs * All apps of type FlipperAppType.EXTERNAL and FlipperAppType.PLUGIN are built as FAPs by default * Updated VSCode configuration for new fbt features - re-deploy stock configuration to use them * Added debugging support for FAPs with fbt debug & VSCode * Added public firmware API with automated versioning Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: SG <who.just.the.doctor@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
		
			
				
	
	
		
			33 lines
		
	
	
		
			751 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			751 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include "scenes/file_browser_scene.h"
 | |
| 
 | |
| #include <gui/gui.h>
 | |
| #include <gui/view_dispatcher.h>
 | |
| #include <gui/scene_manager.h>
 | |
| #include <gui/modules/submenu.h>
 | |
| #include <gui/modules/file_browser.h>
 | |
| #include <dialogs/dialogs.h>
 | |
| #include <notification/notification_messages.h>
 | |
| #include <gui/modules/variable_item_list.h>
 | |
| #include <gui/modules/widget.h>
 | |
| 
 | |
| typedef struct FileBrowserApp FileBrowserApp;
 | |
| 
 | |
| struct FileBrowserApp {
 | |
|     Gui* gui;
 | |
|     ViewDispatcher* view_dispatcher;
 | |
|     SceneManager* scene_manager;
 | |
|     DialogsApp* dialogs;
 | |
|     Widget* widget;
 | |
|     FileBrowser* file_browser;
 | |
| 
 | |
|     string_t file_path;
 | |
| };
 | |
| 
 | |
| typedef enum {
 | |
|     FileBrowserAppViewStart,
 | |
|     FileBrowserAppViewBrowser,
 | |
|     FileBrowserAppViewResult,
 | |
| } FileBrowserAppView;
 |