diff options
author | Alwin Esch <alwin.esch@web.de> | 2017-05-15 14:32:58 +0200 |
---|---|---|
committer | Alwin Esch <alwin.esch@web.de> | 2017-05-15 14:32:58 +0200 |
commit | 3b05b50329074390d7a9f197dccf509af9c1db37 (patch) | |
tree | c6a438be3c8fa7e973dd30647fccb20bc967ccd9 /addons/kodi.binary.instance.game/controller.xsd | |
parent | 4551978380dfcc9bd31c3c150a97fda95d440c30 (diff) |
[cmake][addons] automate addon.xml version set
This automate the set of versions on addon.xml in kodi and also allow
set of them on addon itself.
On a Version change need only the number inside the Header "version.h"
replaced, everything else becomes then set from cmake.
Diffstat (limited to 'addons/kodi.binary.instance.game/controller.xsd')
-rw-r--r-- | addons/kodi.binary.instance.game/controller.xsd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/addons/kodi.binary.instance.game/controller.xsd b/addons/kodi.binary.instance.game/controller.xsd new file mode 100644 index 0000000000..a5383f826b --- /dev/null +++ b/addons/kodi.binary.instance.game/controller.xsd @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="extension"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="gamecontroller"> + <xs:attribute name="point" type="xs:string" use="required"/> + <xs:attribute name="id" type="simpleIdentifier"/> + <xs:attribute name="name" type="xs:string"/> + <xs:attribute name="library" type="xs:string"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:simpleType name="simpleIdentifier"> + <xs:restriction base="xs:string"> + <xs:pattern value="[^.]+"/> + </xs:restriction> + </xs:simpleType> +</xs:schema> |