• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2024 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 
16 #ifndef OHOS_RENDER_3D_PLATFORM_DATA_H
17 #define OHOS_RENDER_3D_PLATFORM_DATA_H
18 
19 #include <memory>
20 #include <string>
21 
22 namespace OHOS::Global::Resource {
23 class ResourceManager;
24 }
25 
26 namespace OHOS::Render3D {
27 
28 struct HapInfo {
29     std::string hapPath_ = "";
30     std::string bundleName_ = "";
31     std::string moduleName_ = "";
32     std::shared_ptr<OHOS::Global::Resource::ResourceManager> resourceManager_;
33 };
34 
35 struct PlatformData {
36     /** Core root path */
37     std::string coreRootPath_;
38     /** Core root path */
39     std::string corePluginPath_;
40     /** Application root path */
41     std::string appRootPath_;
42     /** Application plugin path */
43     std::string appPluginPath_;
44     // hapInfo
45     HapInfo hapInfo_;
46 };
47 } // namespace OHOS::Render3D
48 #endif // OHOS_RENDER_3D_PLATFORM_DATA_H
49