Merge "Add icon re-ordering support by hold and move"
[apps/homescreen.git] / interfaces / appframework.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, 2017 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         <!--
17           org.agl.appframework:
18           @short_description: The interface of the app framework binder.
19
20           The app framework has to provide some basic functionality like 
21           getting a list of applications and start them. In further versions,
22           also pausing or stopping, .
23         -->
24         <interface name="org.agl.appframework">
25                 <!--
26                   getAvailableApps:
27                   @apps: A list of applications that can be launched.
28
29                   The application info consists of:
30                   string id;
31                   string version;
32                   int width;
33                   int height;
34                   string name;
35                   string description;
36                   string shortname;
37                   string author;
38                   string iconPath;
39                 -->
40                 <method name="getAvailableApps">
41                         <arg name="apps" type="{ssiisssss}" direction="out"/>
42                         <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;AppInfo&gt;"/>
43                 </method>
44                 <!--
45                   launchApp:
46                   @name: The name of the application that shall be launched.
47                   @pid: Returns the pid of the process.
48
49                   Use the id of the application info to launch the app.
50                 -->
51                 <method name="launchApp">
52                         <arg name="name" type="s" direction="in"/>
53                         <arg name="pid" type="i" direction="out"/>
54                 </method>
55         </interface>
56 </node>
57