rename dir
This commit is contained in:
18
doric-Qt/doric/async/callback.h
Normal file
18
doric-Qt/doric/async/callback.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef CALLBACK_H
|
||||
#define CALLBACK_H
|
||||
|
||||
#include <QException>
|
||||
|
||||
template <class R>
|
||||
class Callback {
|
||||
|
||||
public:
|
||||
|
||||
virtual void onResult(R result) = 0;
|
||||
|
||||
virtual void onError(QException exception) = 0;
|
||||
|
||||
virtual void onFinish() = 0;
|
||||
};
|
||||
|
||||
#endif // CALLBACK_H
|
||||
Reference in New Issue
Block a user