summaryrefslogtreecommitdiffstats
path: root/tdelirc/profiles/profile.dtd
diff options
context:
space:
mode:
Diffstat (limited to 'tdelirc/profiles/profile.dtd')
-rw-r--r--tdelirc/profiles/profile.dtd28
1 files changed, 28 insertions, 0 deletions
diff --git a/tdelirc/profiles/profile.dtd b/tdelirc/profiles/profile.dtd
new file mode 100644
index 0000000..070fd14
--- /dev/null
+++ b/tdelirc/profiles/profile.dtd
@@ -0,0 +1,28 @@
+<!DOCTYPE profile [
+
+<!ELEMENT profile (action+, name, author)>
+<!ELEMENT name (#PCDATA)>
+<!ELEMENT author (#PCDATA)>
+<!ELEMENT action (name, comment, argument*)>
+<!ELEMENT argument (comment, range?, default?)>
+<!ELEMENT comment (#PCDATA)>
+<!ELEMENT type (#PCDATA)>
+<!ELEMENT instances>
+<!ELEMENT default (#PCDATA)>
+
+<!ATTLIST profile id CDATA #REQUIRED>
+<!ATTLIST profile servicename CDATA #REQUIRED>
+<!ATTLIST action objid CDATA #REQUIRED>
+<!ATTLIST action prototype CDATA #REQUIRED>
+<!ATTLIST argument type (int|QString|QCString|QStringList|bool|double) #REQUIRED>
+<!ATTLIST range min CDATA #REQUIRED>
+<!ATTLIST range max CDATA #REQUIRED>
+<!ATTLIST action class (captions|teletext|fullscreen|scan|finetuneup|finetunedown|recall|enter|number|play|stop|pause|record|previous|next|rewind|forward|eject|mute|volumedown|volumeup|channeldown|channelup|red|yellow|green|blue|on|off) #IMPLIED>
+<!ATTLIST action multiplier CDATA "1" #IMPLIED>
+<!ATTLIST action repeat (0|1) "0">
+<!ATTLIST instances uniqueapp (0|1) "1" #REQUIRED>
+<!ATTLIST instances ifmulti (sendtotop|sendtobottom|sendtoall|dontsend) "dontsend">
+
+]>
+
+