First integration of new HMI design
[staging/HomeScreen.git] / HomeScreen / src / layouthandler.h
index 7487be5..9ca0a9f 100644 (file)
@@ -12,8 +12,6 @@ public:
     explicit LayoutHandler(QObject *parent = 0);
     ~LayoutHandler();
 
-    void setUpLayouts();
-
 signals:
 
 public slots:
@@ -25,10 +23,17 @@ private:
 public slots:
     QList<int> requestGetAllSurfacesOfProcess(int pid);
     int requestGetSurfaceStatus(int surfaceId);
-    void requestRenderSurfaceToArea(int surfaceId, const QRect &renderArea);
+    void requestRenderSurfaceToArea(int surfaceId, int layoutArea);
+    bool requestRenderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
     void requestSurfaceIdToFullScreen(int surfaceId);
     void setLayoutByName(QString layoutName);
 
+    // this will receive the surfaceVisibilityChanged signal of the windowmanager
+    void requestSurfaceVisibilityChanged(int surfaceId, bool visible);
+
+Q_SIGNALS: // SIGNALS
+    void surfaceVisibilityChanged(int surfaceId, bool visible);
+
 protected:
     void timerEvent(QTimerEvent *e);
 private: