add asset js loader & export doric classes
This commit is contained in:
17
doric-Qt/example/doric/loader/DoricAssetJSLoader.h
Normal file
17
doric-Qt/example/doric/loader/DoricAssetJSLoader.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef DORICASSETJSLOADER_H
|
||||
#define DORICASSETJSLOADER_H
|
||||
|
||||
#include "DoricExport.h"
|
||||
|
||||
#include "DoricInterfaceLoader.h"
|
||||
|
||||
class DORIC_EXPORT DoricAssetJSLoader : public DoricInterfaceLoader {
|
||||
public:
|
||||
DoricAssetJSLoader();
|
||||
|
||||
virtual bool filter(QString source) override;
|
||||
|
||||
virtual std::shared_ptr<DoricAsyncResult> request(QString source) override;
|
||||
};
|
||||
|
||||
#endif // DORICASSETJSLOADER_H
|
||||
Reference in New Issue
Block a user