diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-05-21 05:58:51 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-05-21 05:58:51 +0000 |
commit | 79ac8abf90bc871da5789bf15f6beb1466540e01 (patch) | |
tree | ec4e2eab6b88596de3b8452bf55ffa2f1f796805 /addons/xbmc.python | |
parent | 41b31663a47f35a0658ee22f3f1bf855a166241c (diff) |
changed: Move scripts to cpluff
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30368 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/xbmc.python')
-rw-r--r-- | addons/xbmc.python/addon.xml | 7 | ||||
-rw-r--r-- | addons/xbmc.python/script.xsd | 17 |
2 files changed, 24 insertions, 0 deletions
diff --git a/addons/xbmc.python/addon.xml b/addons/xbmc.python/addon.xml new file mode 100644 index 0000000000..5fd410f0e9 --- /dev/null +++ b/addons/xbmc.python/addon.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<addon id="xbmc.python" version="1.0" provider-name="Team XBMC"> + <requires> + <import addon="xbmc.core" version="0.1"/> + </requires> + <extension-point id="script" schema="script.xsd"/> +</addon> diff --git a/addons/xbmc.python/script.xsd b/addons/xbmc.python/script.xsd new file mode 100644 index 0000000000..76bb96dce5 --- /dev/null +++ b/addons/xbmc.python/script.xsd @@ -0,0 +1,17 @@ +<?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: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:complexType> + </xs:element> + <xs:simpleType name="simpleIdentifier"> + <xs:restriction base="xs:string"> + <xs:pattern value="[^.]+"/> + </xs:restriction> + </xs:simpleType> +</xs:schema> |