023f54b83924f55a874a8e08d59b3756f8de9d53
[staging/HomeScreen.git] / interfaces / homescreen.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 <!--
17   org.agl.homescreen:
18   @short_description: A generic interface for the HomeScreen app.
19
20   This interface is a collection of methods from drifferent functional areas to control the HomeScreen app.
21 -->
22   <interface name="org.agl.homescreen">
23   <!--
24     hardKeyPressed:
25     @key: The key that was pressed using the inputevent.hpp InputEvent::HardKey type.
26
27     This is used to inject hard keys into the HomeScreen app.
28   -->
29     <method name="hardKeyPressed">
30       <arg name="key" type="i" direction="in"/>
31     </method>
32     <method name="toggleFullScreen">
33     </method>
34   </interface>
35 </node>
36