1 #ifndef h_pnd_pxml_names_h
2 #define h_pnd_pxml_names_h
8 /* <PXML id="..."> ...*/
9 #define PND_PXML_ATTRNAME_UID "id"
10 #define PND_PXML_ATTRNAME_APPDATANAME "appdata"
12 /* <application id="123">*/
13 #define PND_PXML_APP "application"
15 /* <title lang="..."> */
16 // deprecated - Zaxxon firmware through HF5 (supported for backwards compatibility)
17 #define PND_PXML_ENAME_TITLE "title"
18 #define PND_PXML_ATTRNAME_TITLELANG "lang"
19 // Zaxxon firmware from HF6 onwards
20 #define PND_PXML_NODENAME_TITLES "titles"
22 /* <description lang="...">... */
23 // deprecated - Zaxxon firmware through HF5 (supported for backwards compatibility)
24 #define PND_PXML_ENAME_DESCRIPTION "description"
25 #define PND_PXML_ATTRNAME_DESCRLANG "lang"
26 // Zaxxon firmware from HF6 onwards
27 #define PND_PXML_NODENAME_DESCRIPTIONS "descriptions"
29 /* <exec background="true" standalone="false" command="..." startdir="..." /> */
30 #define PND_PXML_ENAME_EXEC "exec"
31 #define PND_PXML_ATTRNAME_EXECBG "background"
32 #define PND_PXML_ATTRNAME_EXECSTAL "standalone"
33 #define PND_PXML_ATTRNAME_EXECCMD "command"
34 #define PND_PXML_ATTRNAME_EXECARGS "arguments"
35 #define PND_PXML_ATTRNAME_EXECWD "startdir"
36 #define PND_PXML_ATTRNAME_EXECNOX11 "x11"
38 /* <icon src="..." /> */
39 #define PND_PXML_ENAME_ICON "icon"
40 #define PND_PXML_ATTRNAME_ICONSRC "src"
46 #define PND_PXML_NODENAME_PREVPICS "previewpics"
47 #define PND_PXML_ENAME_PREVPIC "pic"
48 #define PND_PXML_ATTRNAME_PREVPICSRC "src"
50 /* <author name="..." website="..." email="..." /> */
51 #define PND_PXML_ENAME_AUTHOR "author"
52 #define PND_PXML_ATTRNAME_AUTHORNAME "name"
53 #define PND_PXML_ATTRNAME_AUTHORWWW "website"
54 #define PND_PXML_ATTRNAME_AUTHOREMAIL "email"
56 /* <version major="1" minor="1" release="1" build="2" /> */
57 #define PND_PXML_ENAME_VERSION "version"
58 #define PND_PXML_ATTRNAME_VERMAJOR "major"
59 #define PND_PXML_ATTRNAME_VERMINOR "minor"
60 #define PND_PXML_ATTRNAME_VERREL "release"
61 #define PND_PXML_ATTRNAME_VERBUILD "build"
63 /* <osversion major="1" minor="0" release="0" build="0" /> */
64 #define PND_PXML_ENAME_OSVERSION "osversion"
65 #define PND_PXML_ATTRNAME_OSVERMAJOR "major"
66 #define PND_PXML_ATTRNAME_OSVERMINOR "minor"
67 #define PND_PXML_ATTRNAME_OSVERREL "release"
68 #define PND_PXML_ATTRNAME_OSVERBUILD "build"
71 * <category name="...">
72 * <subcategory name="..." />
76 #define PND_PXML_NODENAME_CATS "categories"
77 #define PND_PXML_ENAME_CAT "category"
78 #define PND_PXML_ATTRNAME_CATNAME "name"
79 #define PND_PXML_ENAME_SUBCAT "subcategory"
80 #define PND_PXML_ATTRNAME_SUBCATNAME "name"
83 * <association name="CSS File" filetype="text/css" exec="-f %s -t css" />
86 #define PND_PXML_NODENAME_ASSOCS "associations"
87 #define PND_PXML_ENAME_ASSOC "association"
88 #define PND_PXML_ATTRNAME_ASSOCNAME "name"
89 #define PND_PXML_ATTRNAME_ASSOCFTYPE "filetype"
90 #define PND_PXML_ATTRNAME_ASSOCARGS "arguments"
92 /* <clockspeed frequency="600" /> */
93 #define PND_PXML_ENAME_CLOCK "clockspeed"
94 #define PND_PXML_ATTRNAME_CLOCKFREQ "frequency"
96 /* <package name="foo" released="1/1/0001"/> */
97 #define PND_PXML_ENAME_PACKAGE "package"
98 #define PND_PXML_ATTRNAME_PACKAGE_NAME "name"
99 #define PND_PXML_ATTRNAME_PACKAGE_DATE "released"
105 #define PND_PXML_NODENAME_MKDIR "mkdir"
106 #define PND_PXML_ENAME_MKDIR "dir"
107 #define PND_PXML_ATTRNAME_MKDIRPATH "path"
109 /* <info name="AwesomeGame Setup" type="txt/html" src="index.html"/>
111 #define PND_PXML_ENAME_INFO "info"
112 #define PND_PXML_ATTRNAME_INFONAME "name"
113 #define PND_PXML_ATTRNAME_INFOSRC "src"
114 #define PND_PXML_ATTRNAME_INFOTYPE "type"
120 #endif /* ifndef h_pnd_pxml_names_h */