X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafm-launch.h;h=ec5a88a49b6cc33eadd86f9ea90e25d99a65167d;hb=dc4d29d0b8c3393ab8ba85b6278fd231b1191509;hp=552dd18965fef4ace779d3f2a497a691af3d656a;hpb=fc453a43f14a50a2b4dc1f332649ce4bc13af1fa;p=src%2Fapp-framework-main.git diff --git a/src/afm-launch.h b/src/afm-launch.h index 552dd18..ec5a88a 100644 --- a/src/afm-launch.h +++ b/src/afm-launch.h @@ -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 **plugins; /* plugins 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); +