New HomeScreen API calls getSurfaceStatus and getAllSurfacesOfProcess.
[staging/HomeScreen.git] / HomeScreen / src / layouthandler.h
index c9ca1bf..1ba270b 100644 (file)
@@ -18,16 +18,20 @@ signals:
 
 public slots:
     void makeMeVisible(int pid);
-    void toggleFullscreen();
+
+    QList<int> requestGetAllSurfacesOfProcess(int pid);
+    int requestGetSurfaceStatus(int surfaceId);
+    void requestRenderSurfaceToArea(int surfaceId, const QRect &renderArea);
+    void requestSurfaceIdToFullScreen(int surfaceId);
     void setLayoutByName(QString layoutName);
 
 private:
     org::agl::windowmanager *mp_dBusWindowManagerProxy;
     org::agl::popup *mp_dBusPopupProxy;
 
-    QList<int> m_visibleApps;
-    QList<int> m_invisibleApps;
-    QList<int> m_requestsToBeVisibleApps;
+    QList<int> m_visibleSurfaces;
+    QList<int> m_invisibleSurfaces;
+    QList<int> m_requestsToBeVisibleSurfaces;
 
 };