606 | | ==== B_HPKG_ATTRIBUTE_ID_PACKAGE_GLOBAL_SETTINGS_FILE ("package:global-settings-file") ==== |
607 | | - '''Type:''' string |
608 | | - '''Value:''' Relative path of a global settings file either included in the package or created by the included software. If the settings file is included in the package, it will be installed upon activation. In this case the attribute must contain a B_HPKG_ATTRIBUTE_ID_PACKAGE_SETTINGS_FILE_UPDATE_TYPE child attribute. |
| 606 | ==== B_HPKG_ATTRIBUTE_ID_PACKAGE_GLOBAL_WRITABLE_FILE ("package:global-writable-file") ==== |
| 607 | - '''Type:''' string |
| 608 | - '''Value:''' Relative path of a global writable file either included in the package or created by the included software. If the file is included in the package, it will be installed upon activation. In this case the attribute must contain a B_HPKG_ATTRIBUTE_ID_PACKAGE_WRITABLE_FILE_UPDATE_TYPE child attribute. The file may actually be a directory, which is indicated by the B_HPKG_ATTRIBUTE_ID_PACKAGE_IS_WRITABLE_DIRECTORY child attribute. |
| 609 | - '''Allowed Values:''' Installation location relative path (e.g. "settings/..."). |
| 610 | - '''Child Attributes:''' |
| 611 | - B_HPKG_ATTRIBUTE_ID_PACKAGE_WRITABLE_FILE_UPDATE_TYPE: Specifies what to do with the writable file on package update. |
| 612 | - B_HPKG_ATTRIBUTE_ID_PACKAGE_IS_WRITABLE_DIRECTORY: Specifies whether the file is actually a directory. |
| 613 | |
| 614 | ==== B_HPKG_ATTRIBUTE_ID_PACKAGE_USER_SETTINGS_FILE ("package:user-settings-file") ==== |
| 615 | - '''Type:''' string |
| 616 | - '''Value:''' Relative path of a user settings file created by the included software or required by the software to be created by the user. The file may actually be a directory, which is indicated by the B_HPKG_ATTRIBUTE_ID_PACKAGE_IS_WRITABLE_DIRECTORY child attribute. |
625 | | ||0||B_SETTINGS_FILE_UPDATE_TYPE_KEEP_OLD||the old settings file shall be kept|| |
626 | | ||1||B_SETTINGS_FILE_UPDATE_TYPE_MANUAL||the old settings file needs to be updated manually|| |
627 | | ||2||B_SETTINGS_FILE_UPDATE_TYPE_AUTO_MERGE||an automatic three-way merge shall be attempted|| |
| 627 | ||0||B_WRITABLE_FILE_UPDATE_TYPE_KEEP_OLD||the old file shall be kept|| |
| 628 | ||1||B_WRITABLE_FILE_UPDATE_TYPE_MANUAL||the old file needs to be updated manually|| |
| 629 | ||2||B_WRITABLE_FILE_UPDATE_TYPE_AUTO_MERGE||an automatic three-way merge shall be attempted|| |
| 630 | - '''Child Attributes:''' none |
| 631 | |
| 632 | ==== B_HPKG_ATTRIBUTE_ID_PACKAGE_IS_WRITABLE_DIRECTORY ("package:is-writable-directory") ==== |
| 633 | - '''Type:''' uint |
| 634 | - '''Value:''' Specifies whether the parent global writable file or user settings file attribute actually refers to a directory. |
| 635 | - '''Allowed Values:''' |
| 636 | |
| 637 | ||0||The parent attribute refers to a file.|| |
| 638 | ||1||The parent attribute refers to a directory.|| |