16 lines
238 B
C++
16 lines
238 B
C++
#ifndef CALLBACK_H
|
|
#define CALLBACK_H
|
|
|
|
#include <QJSValue>
|
|
|
|
class DoricCallback {
|
|
public:
|
|
virtual void onResult(QJSValue result) = 0;
|
|
|
|
virtual void onError(QJSValue error) = 0;
|
|
|
|
virtual void onFinish() = 0;
|
|
};
|
|
|
|
#endif // CALLBACK_H
|