git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Cloudef to add very basic support for 'package' PXML tags
[pandora-libraries.git]
/
include
/
pnd_pxml_names.h
diff --git
a/include/pnd_pxml_names.h
b/include/pnd_pxml_names.h
index
766a0c9
..
f3ae64c
100644
(file)
--- a/
include/pnd_pxml_names.h
+++ b/
include/pnd_pxml_names.h
@@
-13,12
+13,18
@@
extern "C" {
#define PND_PXML_APP "application"
/* <title lang="..."> */
#define PND_PXML_APP "application"
/* <title lang="..."> */
+// deprecated - Zaxxon firmware through HF5 (supported for backwards compatibility)
#define PND_PXML_ENAME_TITLE "title"
#define PND_PXML_ATTRNAME_TITLELANG "lang"
#define PND_PXML_ENAME_TITLE "title"
#define PND_PXML_ATTRNAME_TITLELANG "lang"
+// Zaxxon firmware from HF6 onwards
+#define PND_PXML_NODENAME_TITLES "titles"
/* <description lang="...">... */
/* <description lang="...">... */
+// deprecated - Zaxxon firmware through HF5 (supported for backwards compatibility)
#define PND_PXML_ENAME_DESCRIPTION "description"
#define PND_PXML_ATTRNAME_DESCRLANG "lang"
#define PND_PXML_ENAME_DESCRIPTION "description"
#define PND_PXML_ATTRNAME_DESCRLANG "lang"
+// Zaxxon firmware from HF6 onwards
+#define PND_PXML_NODENAME_DESCRIPTIONS "descriptions"
/* <exec background="true" standalone="false" command="..." startdir="..." /> */
#define PND_PXML_ENAME_EXEC "exec"
/* <exec background="true" standalone="false" command="..." startdir="..." /> */
#define PND_PXML_ENAME_EXEC "exec"
@@
-87,8
+93,9
@@
extern "C" {
#define PND_PXML_ENAME_CLOCK "clockspeed"
#define PND_PXML_ATTRNAME_CLOCKFREQ "frequency"
#define PND_PXML_ENAME_CLOCK "clockspeed"
#define PND_PXML_ATTRNAME_CLOCKFREQ "frequency"
-/* <package name="foo" released="1/1/0001"/> */
+/* <package
id="foo-package"
name="foo" released="1/1/0001"/> */
#define PND_PXML_ENAME_PACKAGE "package"
#define PND_PXML_ENAME_PACKAGE "package"
+#define PND_PXML_ATTRNAME_PACKAGE_ID "id"
#define PND_PXML_ATTRNAME_PACKAGE_NAME "name"
#define PND_PXML_ATTRNAME_PACKAGE_DATE "released"
#define PND_PXML_ATTRNAME_PACKAGE_NAME "name"
#define PND_PXML_ATTRNAME_PACKAGE_DATE "released"