aboutsummaryrefslogtreecommitdiffstats
path: root/HomeScreen/src/homescreencontrolinterface.h
diff options
context:
space:
mode:
authorBocklage, Jens <Jens_Bocklage@mentor.com>2016-11-11 10:49:52 +0100
committerBocklage, Jens <Jens_Bocklage@mentor.com>2016-11-11 10:49:52 +0100
commit337319e30026b0bae453dc7363f27469fa2ab526 (patch)
tree6e6a50f7092a5b9941fa4b881211629ef2c2c9f7 /HomeScreen/src/homescreencontrolinterface.h
parent0afa95451dbca6b9ef4e50d0c12a6ac17e68f87c (diff)
Add org.agl.homescreen function renderSurfaceToAreaAllowed.
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. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'HomeScreen/src/homescreencontrolinterface.h')
-rw-r--r--HomeScreen/src/homescreencontrolinterface.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/HomeScreen/src/homescreencontrolinterface.h b/HomeScreen/src/homescreencontrolinterface.h
index 27cf4e8..b202dc9 100644
--- a/HomeScreen/src/homescreencontrolinterface.h
+++ b/HomeScreen/src/homescreencontrolinterface.h
@@ -19,7 +19,8 @@ signals:
QList<int> newRequestGetAllSurfacesOfProcess(int pid);
int newRequestGetSurfaceStatus(int surfaceId);
- void newRequestRenderSurfaceToArea(int surfaceId, const QRect &renderArea);
+ void newRequestRenderSurfaceToArea(int surfaceId, int layoutArea);
+ bool newRequestRenderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
void newRequestSurfaceIdToFullScreen(int surfaceId);
//from homescreen_adapter.h
@@ -27,9 +28,9 @@ public Q_SLOTS: // METHODS
QList<int> getAllSurfacesOfProcess(int pid);
int getSurfaceStatus(int surfaceId);
void hardKeyPressed(int key);
- void renderSurfaceToArea(int surfaceId, const QRect &renderArea);
+ void renderSurfaceToArea(int surfaceId, int layoutArea);
+ bool renderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
void requestSurfaceIdToFullScreen(int surfaceId);
-
private:
HomescreenAdaptor *mp_homeScreenAdaptor;
org::agl::appframework *mp_dBusAppFrameworkProxy;