Add new layer WINDOWMANAGER_LAYER_HOMESCREEN_OVERLAY.
[staging/HomeScreen.git] / interfaces / homescreen.xml
index 999b0e9..fe0ea30 100644 (file)
                        <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;int&gt;"/>
                </method>
                <!--
+               renderSurfaceToAreaAllowed:
+               @surfaceId: The surface that is requested.
+               @layoutArea: The layout area where the surface shall be rendered.
+               @allowed: Returns true, if the surface is allowed to be rendered in the area
+
+               This function can be used to request, if it is allowed to render a surface in a layout area in preparation
+               of the real renderSurfaceToArea command. This call will not change anything, it is only a request.
+               -->
+               <method name="renderSurfaceToAreaAllowed">
+                       <arg name="surfaceId" type="i" direction="in"/>
+                       <arg name="layoutArea" type="i" direction="in"/>
+                       <arg name="allowed" type="b" direction="out"/>
+               </method>
+               <!--
                renderSurfaceToArea:
                @surfaceId: The surface that is requested.
                @layoutArea: The layout area where the surface shall be rendered.
                        <arg name="surfaceId" type="i" direction="in"/>
                        <arg name="layoutArea" type="i" direction="in"/>
                </method>
+               <!--
+                 surfaceVisibilityChanged:
+                 @surfaceId: The surface that changed.
+                 @visible: True, if the surface is visible.
+
+                 This is emitted when the visible property of the surfaces changes.
+               -->
+               <signal name="surfaceVisibilityChanged">
+                       <arg name="surfaceId" type="i"/>
+                       <arg name="visible" type="b"/>
+               </signal>
        </interface>
 </node>