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/template/custom_callback.h
2019-12-19 20:24:44 +08:00

24 lines
329 B
C++

#ifndef CUSTOM_CALLBACK_H
#define CUSTOM_CALLBACK_H
#include "async/callback.h"
template <class R>
class CustomCallback : public Callback<R> {
public:
void onResult(R result) override {
}
void onError(QException exception) override {
}
void onFinish() override {
}
};
#endif // CUSTOM_CALLBACK_H