#define PXML_MAXAPPS 20 /* max number of <application>'s within a single PXML */
+// for DaveC, we will support same-path-as-.pnd file override, that is simple format and not XML
+#define PXML_SAMEPATH_OVERRIDE_FILEEXT ".ovr" /* ./foo/bar.pnd could have overrides in ./foo/bar.ovr */
+
// use this handle to interact with PXML; this hides the mechanics of parsing a PXML file so that
// it can be upgraded with impacting applications
typedef void* pnd_pxml_handle;
char *pnd_pxml_get_app_name_fr ( pnd_pxml_handle h );
char *pnd_pxml_get_app_name ( pnd_pxml_handle h, char *iso_lang );
char *pnd_pxml_get_unique_id ( pnd_pxml_handle h );
+char *pnd_pxml_get_appdata_dirname ( pnd_pxml_handle h );
char *pnd_pxml_get_standalone ( pnd_pxml_handle h );
char *pnd_pxml_get_icon ( pnd_pxml_handle h );
char *pnd_pxml_get_description_en ( pnd_pxml_handle h );
typedef struct
{
- unsigned char subapp_number; // 0 for 'only app'; 1+ for <application> # .. first <application> is 1.
+ unsigned char subapp_number; // 0+ for <application> # .. first <application> is 0
pnd_localized_string_t *titles;
int titles_c;
int titles_alloc_c;
char *unique_id;
+ char *appdata_dirname; // preferred dir name for appdata; if missing, use unique-id
char *standalone;
char *icon;
pnd_localized_string_t *descriptions;