修复FA模型读取错误的问题

Signed-off-by: HanSY <hansiyuan1@huawei.com>
This commit is contained in:
HanSY
2025-01-16 16:35:15 +08:00
parent 61c3658b9c
commit 684e791ba3
5 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ public:
std::vector<ResourceId> GetHeaderId() const;
int64_t GetId(ResType resType, const std::string &name) const;
int64_t GetSystemId(ResType resType, const std::string &name) const;
void LoadIdFromHap(const std::map<int64_t, std::vector<ResourceItem>> &items);
void LoadIdFromHap(std::map<int64_t, std::vector<ResourceItem>> &items);
private:
int64_t GenerateAppId(ResType resType, const std::string &name);
+1
View File
@@ -47,6 +47,7 @@ public:
const std::vector<std::string> SplitValue() const;
bool IsArray() const;
bool IsPair() const;
void CheckData();
ResourceItem &operator=(const ResourceItem &other);
private: