25 lines
438 B
C++
25 lines
438 B
C++
#ifndef SRESULTSENDER
|
|
#define SRESULTSENDER
|
|
#define FB(arg) #arg
|
|
#include <QString>
|
|
#include <QObject>
|
|
#include "sutilclass.h"
|
|
|
|
class SResultSender: public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
SResultSender(QObject *parent = nullptr);
|
|
bool send(const State_s1_effect& _result);
|
|
|
|
signals:
|
|
void signalError(E_ERROR_CODE _error, const QString& _error_msg);
|
|
|
|
private:
|
|
void init();
|
|
};
|
|
|
|
|
|
#endif // SUTILCLASS
|
|
|