X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2F2.2-config.xml.md;h=39ea23d5f9999bbe3babeb11c002e89e854b613e;hb=91baca1e612e8323885dfcfe17267a96527fa3c5;hp=f6c88abdd9f9ae8a51898d6a369701dc351637b2;hpb=8c08f5f678660d27420d548cf8b3100bb24aebd9;p=src%2Fapp-framework-main.git diff --git a/docs/2.2-config.xml.md b/docs/2.2-config.xml.md index f6c88ab..39ea23d 100644 --- a/docs/2.2-config.xml.md +++ b/docs/2.2-config.xml.md @@ -156,7 +156,7 @@ The name is the name of the required API. The value describes how to connect to the required api. It is either: -- local: +- local: OBSOLETE, PROVIDED FOR COMPATIBILITY The binding is a local shared object. In that case, the name is the relative path of the shared object to be loaded. @@ -171,14 +171,33 @@ It is either: - dbus: The framework connect using internal dbus -- link: - The framework connect in memory by dynamically linking - - cloud: [PROPOSAL - NOT IMPLEMENTED] The framework connect externally using websock. In that case, the name includes data to access the service. Example: `` +#### required-binding: param name=[name or path] + +The name or the path of the required BINDING. + +The value describes how to connect to the required binding. +It is either: + +- local: + The binding is a local shared object. + In that case, the name is the relative path of the + shared object to be loaded. + +- extern: + The binding is external. The name is the exported binding name. + See provided-binding. + +#### provided-binding: param name=[exported name] + +Exports a local binding to other applications. + +The value must contain the path to the exported binding. + ### required-permission: feature name="urn:AGL:widget:required-permission" List of the permissions required by the unit. @@ -348,6 +367,28 @@ The value is one of the following values: - auto: export the api using the default method(s). +### file-properties: feature name="urn:AGL:widget:file-properties" + +Use this feature for setting properties to files of the widget. +At this time, this feature only allows to set executable flag +for making companion program executable explicitly. + +Example: + +```xml + + + + +``` + +#### file-properties: param name="path" + +The name is the relative path of the file whose property +must be set. + +The value must be "executable" to make the file executable. + ## Known content types The configuration file ***/etc/afm/afm-unit.conf*** defines