hpkg format: Add attributes for declaring settings files

Global and user settings files can be declared. For global ones an
update policy can be specified. If not specified, the settings file is
not included in the package, but created by the program (or user) later.
If an update type is specified, it defines what to do with the settings
file when updating the package to a newer version.

User settings files are never included in the package; they are always
created by the program or the user. If the package contains a template/
default settings file, it can be declared, but for informative purposes
only.
This commit is contained in:
Ingo Weinhold
2013-05-25 01:12:34 +02:00
parent 5497f08e5e
commit fe707a23fc
19 changed files with 999 additions and 91 deletions
@@ -0,0 +1 @@
#include <../os/package/GlobalSettingsFileInfo.h>
@@ -0,0 +1 @@
#include <../os/package/SettingsFileUpdateType.h>
@@ -0,0 +1 @@
#include <../os/package/UserSettingsFileInfo.h>