X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fmainwindow.h;h=28471a0534ad23c33952710fb46f4f3d12d46df6;hb=ffad9fd5bed339b7ae3bd8086f1c90ce1b6dc69b;hp=d984c3eb9548c0caed41adb241d5e653109986e9;hpb=3478f65b39560b333ba189e7d86e2c2cebfc9c7a;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/mainwindow.h b/HomeScreen/src/mainwindow.h index d984c3e..28471a0 100644 --- a/HomeScreen/src/mainwindow.h +++ b/HomeScreen/src/mainwindow.h @@ -19,12 +19,18 @@ #include #include "daynightmode_proxy.h" +#include "proximity_adaptor.h" + +#include "homescreencontrolinterface.h" #include "statusbarwidget.h" #include "controlbarwidget.h" #include "settingswidget.h" +#include "applauncherwidget.h" #include "popupwidget.h" +#include "layouthandler.h" + namespace Ui { class MainWindow; @@ -42,6 +48,10 @@ public: public Q_SLOTS: void dayNightModeSlot(int mode); +// from proximity_adaptor.h +public Q_SLOTS: + void setObjectDetected(bool detected); + public slots: void updateColorScheme(); @@ -49,6 +59,7 @@ protected: // called when the translator loaded a new language set void changeEvent(QEvent* event); + private: Ui::MainWindow *mp_ui; @@ -57,9 +68,16 @@ private: ControlBarWidget *mp_controlBarWidget; org::agl::daynightmode *mp_dBusDayNightMode_ControlBarWidget; SettingsWidget *mp_settingsWidget; + AppLauncherWidget *mp_applauncherwidget; PopupWidget *mp_popupWidget; - org::agl::daynightmode *mp_dayNightModeProxy; + LayoutHandler *mp_layoutHandler; + + org::agl::daynightmode *mp_dBusDayNightModeProxy; + + ProximityAdaptor *mp_proximityAdaptor; + + HomeScreenControlInterface *mp_homeScreenControlInterface; }; #endif // MAINWINDOW_H