libupnp/upnp/sample/web/tvpictureSCPD.xml
Nektarios K. Papadopoulos 8f7fd0fc6d * Modified tvdevice (control and picture) service descriptions to make
compatible with WinXP/IE control point. 'in' arguments must appear before
'out' arguments in argument list.
Thanks to Martin Tremblay for pointing out the solution originally
provided by MORIOKA Yasuhiro.



git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@193 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-05-24 08:10:28 +00:00

250 lines
5.6 KiB
XML

<?xml version="1.0"?>
<scpd xmlns="urn:schemas-upnp-org:service-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<actionList>
<action>
<name>SetColor</name>
<argumentList>
<argument>
<name>Color</name>
<relatedStateVariable>Color</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<name>NewColor</name>
<retval />
<relatedStateVariable>Color</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>IncreaseColor</name>
<argumentList>
<argument>
<name>Color</name>
<retval />
<relatedStateVariable>Color</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>DecreaseColor</name>
<argumentList>
<argument>
<name>Color</name>
<retval />
<relatedStateVariable>Color</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetTint</name>
<argumentList>
<argument>
<name>Tint</name>
<relatedStateVariable>Tint</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<name>NewTint</name>
<retval />
<relatedStateVariable>Tint</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>IncreaseTint</name>
<argumentList>
<argument>
<name>Tint</name>
<retval />
<relatedStateVariable>Tint</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>DecreaseTint</name>
<argumentList>
<argument>
<name>Tint</name>
<retval />
<relatedStateVariable>Tint</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetContrast</name>
<argumentList>
<argument>
<name>Contrast</name>
<relatedStateVariable>Contrast</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<name>NewContrast</name>
<retval />
<relatedStateVariable>Contrast</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>IncreaseContrast</name>
<argumentList>
<argument>
<name>Contrast</name>
<retval />
<relatedStateVariable>Contrast</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>DecreaseContrast</name>
<argumentList>
<argument>
<name>Contrast</name>
<retval />
<relatedStateVariable>Contrast</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetBrightness</name>
<argumentList>
<argument>
<name>Brightness</name>
<relatedStateVariable>Brightness</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<name>NewBrightness</name>
<retval />
<relatedStateVariable>Brightness</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>IncreaseBrightness</name>
<argumentList>
<argument>
<name>Brightness</name>
<retval />
<relatedStateVariable>Brightness</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>DecreaseBrightness</name>
<argumentList>
<argument>
<name>Brightness</name>
<retval />
<relatedStateVariable>Brightness</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
</actionList>
<serviceStateTable>
<stateVariable sendEvents="yes">
<name>Color</name>
<dataType>i4</dataType>
<allowedValueRange>
<minimum>1</minimum>
<maximum>10</maximum>
<step>1</step>
</allowedValueRange>
<defaultValue>5</defaultValue>
</stateVariable>
<stateVariable sendEvents="yes">
<name>Tint</name>
<dataType>i4</dataType>
<allowedValueRange>
<minimum>1</minimum>
<maximum>10</maximum>
<step>1</step>
</allowedValueRange>
<defaultValue>5</defaultValue>
</stateVariable>
<stateVariable sendEvents="yes">
<name>Contrast</name>
<dataType>i4</dataType>
<allowedValueRange>
<minimum>1</minimum>
<maximum>10</maximum>
<step>1</step>
</allowedValueRange>
<defaultValue>5</defaultValue>
</stateVariable>
<stateVariable sendEvents="yes">
<name>Brightness</name>
<dataType>i4</dataType>
<allowedValueRange>
<minimum>1</minimum>
<maximum>10</maximum>
<step>1</step>
</allowedValueRange>
<defaultValue>5</defaultValue>
</stateVariable>
</serviceStateTable>
</scpd>