37 lines
693 B
C++
37 lines
693 B
C++
#ifndef SEFFECTPROCESS
|
|
#define SEFFECTPROCESS
|
|
#include <QObject>
|
|
#include <QString>
|
|
#include "sutilclass.h"
|
|
|
|
enum E_PARAM
|
|
{
|
|
E_PARAM_URL = 0,
|
|
E_PARAM_EVENT_CODE,
|
|
E_PARAM_PLATFORM_FORM,
|
|
E_PARAM_PLATFORM_NAME,
|
|
E_PARAM_MAX
|
|
};
|
|
|
|
|
|
class SEffectProcess:public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
SEffectProcess(const QString& _platform_name, const QString& _platform_form,
|
|
const QString& _event_code, const QString& _url);
|
|
virtual void run() = 0;
|
|
|
|
|
|
protected slots:
|
|
void slotOk();
|
|
void slotError(E_ERROR_CODE _error, const QString& _msg);
|
|
|
|
private:
|
|
QString m_pParam[E_PARAM_MAX];
|
|
};
|
|
|
|
#endif // SEFFECTPROCESS
|
|
|