add preload module

Signed-off-by: jsy <jusiyao1@huawei.com>
This commit is contained in:
jsy 2024-10-29 11:13:29 +08:00
parent ed2f58f88c
commit 6644438800

View File

@ -206,6 +206,16 @@ public:
{
return;
}
void PreloadMainAbility(const std::string& moduleName, const std::string& srcPath,
const std::string& hapPath, bool isEsMode, const std::string& srcEntrance) override
{
return;
}
void PreloadModule(const std::string& moduleName, const std::string& srcPath,
const std::string& hapPath, bool isEsMode, bool useCommonTrunk) override
{
return;
}
bool RunScript(const std::string& path, const std::string& hapPath, bool useCommonChunk = false)
{
return true;