#pragma once #include #include #include "ScreenXmlParser.h" namespace Rshb { class HomeScreenScript final : public QObject { Q_OBJECT public: explicit HomeScreenScript(QObject *parent = nullptr); ~HomeScreenScript() override; public slots: void start(); void stop(); signals: void finished(); private: bool m_running = true; ScreenXmlParser xmlScreenParser; bool goToHomeScreen( const QString &deviceId, const QString &packageName, const QString &pinCode, int width, int height ); }; } // namespace Rshb