feat: Add CEchoAction class
This commit is contained in:
29
src/dicom/CEchoAction.h
Normal file
29
src/dicom/CEchoAction.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#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 */
|
||||
Reference in New Issue
Block a user