X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fsrc%2Fshell.h;fp=homescreen%2Fsrc%2Fshell.h;h=51990d8466465f4d924a1c248d8a16846afd08f4;hb=bb4c83e294f109497f504c0dd8e23143c07883d6;hp=a6e3f7eec3976d5a3d3a78ed43f1cf355f6877ed;hpb=d4f3ddfbad7a64937f00f13ba964e18d33effbb0;p=apps%2Fhomescreen.git diff --git a/homescreen/src/shell.h b/homescreen/src/shell.h index a6e3f7e..51990d8 100644 --- a/homescreen/src/shell.h +++ b/homescreen/src/shell.h @@ -41,16 +41,20 @@ class Shell : public QObject { - Q_OBJECT + Q_OBJECT public: - std::shared_ptr shell; - - Shell(std::shared_ptr shell, QObject *parent = nullptr) : - QObject(parent), shell(shell) - {} -public slots: - void activate_app(QWindow *win, const QString &app_id); + std::shared_ptr shell; + + Shell(std::shared_ptr shell, QObject *parent = nullptr) : + QObject(parent), shell(shell) + {} + public slots: + void activate_app(QWindow *win, const QString &app_id); + void set_activate_region(struct wl_output *output, int32_t x, int32_t y, + int32_t width, int32_t height); +private: + struct wl_region *m_region = nullptr; }; #endif // SHELLHANDLER_H