#include <wayland-client.h>
#include "wayland-agl-shell-desktop-client-protocol.h"
+#ifndef DEFAULT_AFM_UNIX_SOCK
+#define DEFAULT_AFM_UNIX_SOCK "unix:/run/platform/apis/ws/afm-main"
+#endif
+
+#include "launcher.h"
#include "hmi-debug.h"
#define ROLE_NAME "onstestapp"
Q_INVOKABLE void showWindow(QString id, QString json);
Q_INVOKABLE void hideWindow(QString id);
+ Q_INVOKABLE int start(const QString &app_id);
+ Q_INVOKABLE bool is_running(const QString &app_id);
signals:
void signalOnReplyShowWindow(QVariant val);
QLibWindowmanager* mp_wm;
#endif
struct agl_shell_desktop *shell_desktop = nullptr;
- QQuickWindow *mp_qw;
+ Launcher *m_launcher = nullptr;
+ QQuickWindow *mp_qw;
};
#endif // EVENTHANDLER_H