BSB Developer Docs
Loading...
Searching...
No Matches
js_app_installer_i.h
1#pragma once
2
3#include "js_app_installer.h"
4
5#include <furi.h>
6#include <toolbox/api_lock.h>
7
8#include <js_app/js_app.h>
9
10typedef enum JsAppInstallerCmd {
11 JsAppInstallerCmdInvalid = 0,
12 JsAppInstallerCmdStage,
13 JsAppInstallerCmdInstall,
14
15 JsAppInstallerCmdMax
16} JsAppInstallerCmd;
17
21
23 uint32_t install_key;
24
25 JsAppInstallerError* error;
27
28typedef struct JsAppInstallerMsg {
29 JsAppInstallerCmd cmd;
30
31 FuriApiLock api_lock;
32
33 union {
36 };
38
39typedef struct JsAppInstaller {
40 FuriEventLoop* event_loop;
41 FuriMessageQueue* msg_queue;
42
43 uint32_t staged_install_key;
44 FuriString* staged_app_path;
JavaScript application library.
Javascript application installer.
Definition js_app_installer_i.h:39
Definition js_app_installer_i.h:28
Definition js_app_installer_i.h:22
Definition js_app_installer_i.h:18
Definition js_app_installer.h:24