5aac541b4795b376d0404657e03ed69beab13d08
[staging/HomeScreen.git] / interfaces / windowmanager.xml
1 <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
2 <!-- Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
3
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7
8       http://www.apache.org/licenses/LICENSE-2.0
9
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License. -->
15 <node>
16   <interface name="org.agl.windowmanager">
17       <method name="addLayout">
18         <arg name="layoutId" type="i" direction="in"/>
19         <arg name="layoutName" type="s" direction="in"/>
20         <arg name="isFullScreen" type="b" direction="in"/>
21         <arg name="associatedFullScreenLayout" type="i" direction="in"/>
22         <arg name="surfaceAreas" type="a(iiii)" direction="in"/>
23         <annotation name="org.qtproject.QtDBus.QtTypeName.In4" value="QList&lt;SimpleRect&gt;"/>
24         <arg name="error" type="i" direction="out"/>
25       </method>
26       <method name="getAvailableLayouts">
27         <arg name="numberOfAppSurfaces" type="i" direction="in"/>
28         <arg name="layoutIds" type="ai" direction="out"/>
29         <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;int&gt;"/>
30       </method>
31       <method name="isLayoutFullScreen">
32         <arg name="layoutId" type="i" direction="in"/>
33         <arg name="fullScreen" type="b" direction="out"/>
34       </method>
35       <method name="getAssociatedFullScreenLayout">
36         <arg name="layoutId" type="i" direction="in"/>
37         <arg name="associatedFullScreenLayout" type="i" direction="out"/>
38       </method>
39       <method name="setLayoutById">
40         <arg name="layoutId" type="i" direction="in"/>
41       </method>
42       <method name="setLayoutByName">
43         <arg name="layoutName" type="s" direction="in"/>
44       </method>
45       <method name="getLayout">
46         <arg name="layoutId" type="i" direction="out"/>
47       </method>
48       <method name="setPidToLayoutArea">
49         <arg name="pid" type="i" direction="in"/>
50         <arg name="layoutAreaId" type="i" direction="in"/>
51       </method>
52       <method name="getAvailableSurfaces">
53         <arg name="surfacesAndPids" type="a(ii)" direction="out"/>
54         <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;SimplePoint&gt;"/>
55       </method>
56       <method name="getLayoutName">
57         <arg name="layoutId" type="i" direction="in"/>
58         <arg name="layoutName" type="s" direction="out"/>
59       </method>
60   </interface>
61 </node>
62