add js loader manager

This commit is contained in:
王劲鹏
2021-06-09 18:06:56 +08:00
committed by osborn
parent 23522c6416
commit 41ebe1d64a
4 changed files with 80 additions and 0 deletions

View 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