1 // SPDX-License-Identifier: Apache-2.0
3 * Copyright (c) 2017 TOYOTA MOTOR CORPORATION
4 * Copyright (c) 2022 Konsulko Group
7 #ifndef HOMESCREENHANDLER_H
8 #define HOMESCREENHANDLER_H
13 #include "applicationlauncher.h"
14 #include "AppLauncherClient.h"
20 class HomescreenHandler : public QObject
24 explicit HomescreenHandler(Shell *aglShell, ApplicationLauncher *launcher = 0, QObject *parent = 0);
27 Q_INVOKABLE void tapShortcut(QString application_id);
29 void addAppToStack(const QString& application_id);
30 void activateApp(const QString& app_id);
31 void deactivateApp(const QString& app_id);
34 void showNotification(QString application_id, QString icon_path, QString text);
35 void showInformation(QString info);
38 void processAppStatusEvent(const QString &id, const QString &status);
41 ApplicationLauncher *mp_launcher;
42 AppLauncherClient *mp_applauncher_client;
43 struct wl_output *m_output;
47 QStringList apps_stack;
50 #endif // HOMESCREENHANDLER_H