This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/doric/async/callback.h
2021-05-20 18:27:45 +08:00

16 lines
239 B
C++

#ifndef CALLBACK_H
#define CALLBACK_H
#include <QJSValue>
class Callback {
public:
virtual void onResult(QJSValue result) = 0;
virtual void onError(QJSValue error) = 0;
virtual void onFinish() = 0;
};
#endif // CALLBACK_H