X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafm-launch.h;h=916079bc6e701f92bc64b5d40d42c1524a1c0bb1;hb=3a6e947bef1b2942e24d2fdee1a76dbf3305b508;hp=552dd18965fef4ace779d3f2a497a691af3d656a;hpb=fc453a43f14a50a2b4dc1f332649ce4bc13af1fa;p=src%2Fapp-framework-main.git diff --git a/src/afm-launch.h b/src/afm-launch.h index 552dd18..916079b 100644 --- a/src/afm-launch.h +++ b/src/afm-launch.h @@ -1,5 +1,5 @@ /* - Copyright 2015 IoT.bzh + Copyright 2015, 2016, 2017 IoT.bzh author: José Bollo @@ -16,18 +16,23 @@ limitations under the License. */ +/* + * Structure describing what is to be launched + */ struct afm_launch_desc { - const char *path; - const char *appid; - const char *content; - const char *type; - const char *name; - const char *home; - const char **plugins; - int width; - int height; - enum afm_launch_mode mode; + const char *path; /* to the widget directory */ + const char *appid; /* application identifier */ + const char *content; /* content to launch */ + const char *type; /* type to launch */ + const char *name; /* name of the application */ + const char *home; /* home directory of the applications */ + const char **bindings; /* bindings for the application */ + int width; /* requested width */ + int height; /* requested height */ + enum afm_launch_mode mode; /* launch mode */ }; int afm_launch_initialize(); + int afm_launch(struct afm_launch_desc *desc, pid_t children[2], char **uri); +