root/branches/libffado-2.0/support/dbus/control-interface.xml

Revision 1297, 7.1 kB (checked in by ppalmers, 13 years ago)

improve signals

Line 
1 <?xml version="1.0" ?>
2 <node name="/org/ffado/Control/">
3
4   <interface name="org.ffado.Control.Element.Element">
5       <method name="getId">
6           <arg type="t" name="id" direction="out"/>
7       </method>
8       <method name="getName">
9           <arg type="s" name="name" direction="out"/>
10       </method>
11       <method name="getLabel">
12           <arg type="s" name="label" direction="out"/>
13       </method>
14       <method name="getDescription">
15           <arg type="s" name="description" direction="out"/>
16       </method>
17       <method name="getVerboseLevel">
18           <arg type="i" name="level" direction="out"/>
19       </method>
20       <method name="setVerboseLevel">
21           <arg type="i" name="level" direction="in"/>
22       </method>
23   </interface>
24
25   <interface name="org.ffado.Control.Element.Container">
26       <method name="getNbElements">
27           <arg type="i" name="count" direction="out"/>
28       </method>
29       <method name="getElementName">
30           <arg type="i" name="id" direction="in"/>
31           <arg type="s" name="name" direction="out"/>
32       </method>
33       <signal name="Destroyed"></signal>
34       <signal name="Updated"></signal>
35       <signal name="PreUpdate"></signal>
36       <signal name="PostUpdate"></signal>
37   </interface>
38
39   <interface name="org.ffado.Control.Element.ConfigRomX">
40       <method name="getGUID">
41           <arg type="s" name="guid" direction="out"/>
42       </method>
43       <method name="getVendorName">
44           <arg type="s" name="vendorname" direction="out"/>
45       </method>
46       <method name="getModelName">
47           <arg type="s" name="modelname" direction="out"/>
48       </method>
49       <method name="getVendorId">
50           <arg type="i" name="vendorid" direction="out"/>
51       </method>
52       <method name="getModelId">
53           <arg type="i" name="modelid" direction="out"/>
54       </method>
55       <method name="getUnitVersion">
56           <arg type="i" name="unitversion" direction="out"/>
57       </method>
58   </interface>
59
60   <interface name="org.ffado.Control.Element.Continuous">
61       <method name="setValue">
62           <arg type="d" name="value" direction="in"/>
63           <arg type="d" name="value" direction="out"/>
64       </method>
65       <method name="getValue">
66           <arg type="d" name="value" direction="out"/>
67       </method>
68       <method name="getMinimum">
69           <arg type="d" name="value" direction="out"/>
70       </method>
71       <method name="getMaximum">
72           <arg type="d" name="value" direction="out"/>
73       </method>
74       <method name="setValueIdx">
75           <arg type="i" name="idx" direction="in"/>
76           <arg type="d" name="value" direction="in"/>
77           <arg type="d" name="value" direction="out"/>
78       </method>
79       <method name="getValueIdx">
80           <arg type="i" name="idx" direction="in"/>
81           <arg type="d" name="value" direction="out"/>
82       </method>
83   </interface>
84
85   <interface name="org.ffado.Control.Element.Discrete">
86       <method name="setValue">
87           <arg type="i" name="value" direction="in"/>
88           <arg type="i" name="value" direction="out"/>
89       </method>
90       <method name="getValue">
91           <arg type="i" name="value" direction="out"/>
92       </method>
93       <method name="setValueIdx">
94           <arg type="i" name="idx" direction="in"/>
95           <arg type="i" name="value" direction="in"/>
96           <arg type="i" name="value" direction="out"/>
97       </method>
98       <method name="getValueIdx">
99           <arg type="i" name="idx" direction="in"/>
100           <arg type="i" name="value" direction="out"/>
101       </method>
102   </interface>
103
104   <interface name="org.ffado.Control.Element.Text">
105       <method name="setValue">
106           <arg type="s" name="value" direction="in"/>
107           <arg type="s" name="value" direction="out"/>
108       </method>
109       <method name="getValue">
110           <arg type="s" name="value" direction="out"/>
111       </method>
112   </interface>
113
114   <interface name="org.ffado.Control.Element.Register">
115       <method name="setValue">
116           <arg type="t" name="address" direction="in"/>
117           <arg type="t" name="value" direction="in"/>
118           <arg type="t" name="value" direction="out"/>
119       </method>
120       <method name="getValue">
121           <arg type="t" name="address" direction="in"/>
122           <arg type="t" name="value" direction="out"/>
123       </method>
124   </interface>
125
126   <interface name="org.ffado.Control.Element.Enum">
127       <method name="select">
128           <arg type="i" name="idx" direction="in"/>
129           <arg type="i" name="success" direction="out"/>
130       </method>
131       <method name="selected">
132           <arg type="i" name="idx" direction="out"/>
133       </method>
134       <method name="count">
135           <arg type="i" name="count" direction="out"/>
136       </method>
137       <method name="getEnumLabel">
138           <arg type="i" name="idx" direction="in"/>
139           <arg type="s" name="label" direction="out"/>
140       </method>
141   </interface>
142
143   <interface name="org.ffado.Control.Element.AttributeEnum">
144       <method name="select">
145           <arg type="i" name="idx" direction="in"/>
146           <arg type="i" name="success" direction="out"/>
147       </method>
148       <method name="selected">
149           <arg type="i" name="idx" direction="out"/>
150       </method>
151       <method name="count">
152           <arg type="i" name="count" direction="out"/>
153       </method>
154       <method name="attributeCount">
155           <arg type="i" name="count" direction="out"/>
156       </method>
157       <method name="getEnumLabel">
158           <arg type="i" name="idx" direction="in"/>
159           <arg type="s" name="label" direction="out"/>
160       </method>
161       <method name="getAttributeValue">
162           <arg type="i" name="idx" direction="in"/>
163           <arg type="s" name="value" direction="out"/>
164       </method>
165       <method name="getAttributeName">
166           <arg type="i" name="idx" direction="in"/>
167           <arg type="s" name="name" direction="out"/>
168       </method>
169   </interface>
170
171   <interface name="org.ffado.Control.Element.MatrixMixer">
172       <method name="setValue">
173           <arg type="i" name="row" direction="in"/>
174           <arg type="i" name="col" direction="in"/>
175           <arg type="d" name="value" direction="in"/>
176           <arg type="d" name="value" direction="out"/>
177       </method>
178       <method name="getValue">
179           <arg type="i" name="row" direction="in"/>
180           <arg type="i" name="col" direction="in"/>
181           <arg type="d" name="value" direction="out"/>
182       </method>
183       <method name="canWrite">
184           <arg type="i" name="row" direction="in"/>
185           <arg type="i" name="col" direction="in"/>
186           <arg type="i" name="value" direction="out"/>
187       </method>
188       <method name="getRowName">
189           <arg type="i" name="row" direction="in"/>
190           <arg type="s" name="rowname" direction="out"/>
191       </method>
192       <method name="getColName">
193           <arg type="i" name="col" direction="in"/>
194           <arg type="s" name="colname" direction="out"/>
195       </method>
196       <method name="getRowCount">
197           <arg type="i" name="nbrows" direction="out"/>
198       </method>
199       <method name="getColCount">
200           <arg type="i" name="nbrows" direction="out"/>
201       </method>
202
203   </interface>
204
205 </node>
Note: See TracBrowser for help on using the browser.