| 981 | } |
| 982 | |
| 983 | QString OPFResource::GetGuideSemanticCodeForResource(const Resource *resource, const OPFParser &p, QString tgt_id) const |
| 984 | { |
| 985 | QString gtype; |
| 986 | int pos = GetGuideReferenceForResourcePos(resource, p, tgt_id); |
| 987 | if (pos > -1) { |
| 988 | GuideEntry ge = p.m_guide.at(pos); |
| 989 | gtype = ge.m_type; |
| 990 | } |
| 991 | return gtype; |
| 992 | } |
| 993 | |
| 994 | int OPFResource::GetGuideReferenceForResourcePos(const Resource *resource, const OPFParser &p, QString tgt_id) const |
| 995 | { |
no test coverage detected