#pragma once
#include "CommonScript.h"

class LoginAndCheckAccountsScript final : public CommonScript {
    Q_OBJECT

public:
    ~LoginAndCheckAccountsScript() override;

    explicit LoginAndCheckAccountsScript(
        QString deviceId,
        QString appCode,
        QObject *parent = nullptr
    );

protected:
    void doStart() override;

private:
    const QString m_deviceId;
    const QString m_appCode;
    QString m_error;
};