| 171 | } |
| 172 | |
| 173 | dmResource::Result GetApplicationSupportPath(dmResource::HManifest manifest, char* buffer, uint32_t buffer_len) |
| 174 | { |
| 175 | char id_buf[dmResource::MANIFEST_PROJ_ID_LEN]; // String repr. of project id SHA1 hash |
| 176 | const char* project_id = dmResource::GetProjectId(manifest, id_buf, sizeof(id_buf)); |
| 177 | if (project_id == 0) |
| 178 | { |
| 179 | dmLogError("Failed get project id from manifest"); |
| 180 | return RESULT_IO_ERROR; |
| 181 | } |
| 182 | |
| 183 | dmSys::Result s_result = dmSys::GetApplicationSupportPath(id_buf, buffer, buffer_len); |
| 184 | if (dmSys::RESULT_OK != s_result) |
| 185 | { |
| 186 | dmLogError("Failed get application support path for \"%s\", result = %i", id_buf, dmSys::RESULT_OK); |
| 187 | return RESULT_IO_ERROR; |
| 188 | } |
| 189 | return RESULT_OK; |
| 190 | } |
| 191 | |
| 192 | bool HasManifestExcludedEntries(dmResource::HManifest manifest) |
| 193 | { |
nothing calls this directly
no test coverage detected