30 lines
737 B
C++
30 lines
737 B
C++
#ifndef AAD49461_3276_47D6_B033_156B91C94F74
|
|
#define AAD49461_3276_47D6_B033_156B91C94F74
|
|
|
|
#include "action/AsyncAction.h"
|
|
#include "CEchoSetting.h"
|
|
|
|
#include <QList>
|
|
enum CEchoType{
|
|
LOCAL,REMOTE
|
|
};
|
|
|
|
class CEchoAction : public AsyncAction
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit CEchoAction(QObject* aParent = nullptr);
|
|
~CEchoAction() override;
|
|
void run() override;
|
|
void addCEchoActionItem(const CEchoSetting& aSetting);
|
|
signals:
|
|
void actionStepCompleted(const ActionResult& aResult);
|
|
void actionStepStart(const QString& aMessage);
|
|
|
|
private:
|
|
QList<CEchoSetting> mSettings;
|
|
void doCompletedEmit(const ActionResult& aResult, size_t aIndex, size_t aLength);
|
|
};
|
|
|
|
#endif /* AAD49461_3276_47D6_B033_156B91C94F74 */
|