1
0
forked from BRT/arc
arc/android/rshb/HomeScreenScript.h
2026-02-22 20:48:16 +07:00

39 lines
613 B
C++

#pragma once
#include <QObject>
#include <QPair>
#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