1 /*
2 * Copyright (C) 2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15 #include "lume.h"
16
17 #include <base/containers/array_view.h>
18
19 #include <core/ecs/intf_system_graph_loader.h>
20 #include <core/implementation_uids.h>
21 #include <core/namespace.h>
22 #include <core/io/intf_file_manager.h>
23 #include <core/os/intf_platform.h>
24 #include <core/property/intf_property_handle.h>
25 #include <core/plugin/intf_plugin_register.h>
26
27 namespace OHOS::Render3D {
~Lume()28 Lume::~Lume()
29 {
30 }
31
ToEnginePlatformData(const PlatformData & data) const32 CORE_NS::PlatformCreateInfo Lume::ToEnginePlatformData(const PlatformData& data) const
33 {
34 return {
35 data.coreRootPath_.c_str(),
36 data.appRootPath_.c_str(),
37 data.appPluginPath_.c_str(),
38 data.hapInfo_.hapPath_.c_str(),
39 data.hapInfo_.bundleName_.c_str(),
40 data.hapInfo_.moduleName_.c_str()
41 };
42 }
RegisterAssertPath()43 void Lume::RegisterAssertPath()
44 {}
45 } // namespace OHOS::Render3D
46