add js loader manager
This commit is contained in:
15
doric-Qt/example/doric/loader/DoricInterfaceLoader.h
Normal file
15
doric-Qt/example/doric/loader/DoricInterfaceLoader.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef DORICINTERFACELOADER_H
|
||||
#define DORICINTERFACELOADER_H
|
||||
|
||||
#include "async/DoricAsyncResult.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
class DoricInterfaceLoader {
|
||||
public:
|
||||
virtual bool filter(QString source) = 0;
|
||||
|
||||
virtual std::shared_ptr<DoricAsyncResult> request(QString source) = 0;
|
||||
};
|
||||
|
||||
#endif // DORICINTERFACELOADER_H
|
||||
Reference in New Issue
Block a user