Added handling for event types (Balance, Phone) and respective processing logic in EventHandler. Introduced support for tracking and updating event statuses both locally and through network APIs. Enhanced data integrity and clarity by expanding the EventInfo model and associated database management.
23 lines
439 B
C++
23 lines
439 B
C++
#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;
|
|
}; |