aboutsummaryrefslogtreecommitdiff
path: root/addons/xbmc.gui
diff options
context:
space:
mode:
authoralcoheca <alcoheca@svn>2010-05-05 13:39:33 +0000
committeralcoheca <alcoheca@svn>2010-05-05 13:39:33 +0000
commit5ff028ac245d013eba963660cf4ffed2d3e0285a (patch)
tree99a2c71befbf070c0d1db3cae60b5d1eafc15684 /addons/xbmc.gui
parent3c621898002bbacb30a2c22661afee7e88986ef3 (diff)
added: skin support via cpluff
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29814 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/xbmc.gui')
-rw-r--r--addons/xbmc.gui/addon.xml8
-rw-r--r--addons/xbmc.gui/skin.xsd23
2 files changed, 31 insertions, 0 deletions
diff --git a/addons/xbmc.gui/addon.xml b/addons/xbmc.gui/addon.xml
new file mode 100644
index 0000000000..a5001e90f8
--- /dev/null
+++ b/addons/xbmc.gui/addon.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<addon id="xbmc.gui" version="2.11" provider-name="Team XBMC"/>
+ <backwards-compatibility abi="2.1"/>
+ <requires>
+ <import addon="xbmc.core" version="0.1"/>
+ </requires>
+ <extension-point id="skin" schema="skin.xsd"/>
+</addon>
diff --git a/addons/xbmc.gui/skin.xsd b/addons/xbmc.gui/skin.xsd
new file mode 100644
index 0000000000..83ca37733c
--- /dev/null
+++ b/addons/xbmc.gui/skin.xsd
@@ -0,0 +1,23 @@
+<?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="defaultresolution" type="xs:string" use="required"/>
+ <xs:attribute name="defaultresolutionwide" type="xs:string" use="required"/>
+ <xs:attribute name="defaultthemename" type="xs:string" use="required"/>
+ <xs:attribute name="effectslowdown" type="xs:float"/>
+ <xs:attribute name="debugging" type="xs:boolean"/>
+
+ </xs:complexType>
+ </xs:element>
+ <xs:simpleType name="simpleIdentifier">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[^.]+"/>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>