[FL-1308] Add API for starting applications with arguments (#486)
* app-loader: add API for starting applications with arguments * app-loader: add check if application is running * archive: rework starting app with app-loader API Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
15
applications/app-loader/app-loader.h
Normal file
15
applications/app-loader/app-loader.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <furi.h>
|
||||
#include <cli/cli.h>
|
||||
#include "menu/menu.h"
|
||||
#include "menu/menu_item.h"
|
||||
#include "applications.h"
|
||||
#include <assets_icons.h>
|
||||
#include <api-hal.h>
|
||||
|
||||
/**
|
||||
* Start application
|
||||
* @param name - application name
|
||||
* @param args - application arguments
|
||||
* @retval true on success
|
||||
*/
|
||||
bool app_loader_start(const char* name, const char* args);
|
||||
Reference in New Issue
Block a user