| 580 | } |
| 581 | |
| 582 | QString NavProcessor::GetLandmarkCodeForResource(const Resource *resource, QString tgt_id) |
| 583 | { |
| 584 | const QList<NavLandmarkEntry> landlist = GetLandmarks(); |
| 585 | QReadLocker locker(&m_NavResource->GetLock()); |
| 586 | int pos = GetResourceLandmarkPos(resource, landlist, tgt_id); |
| 587 | QString etype; |
| 588 | if (pos > -1) { |
| 589 | NavLandmarkEntry le = landlist.at(pos); |
| 590 | etype = le.etype; |
| 591 | } |
| 592 | return etype; |
| 593 | } |
| 594 | |
| 595 | QString NavProcessor::GetLandmarkNameForResource(const Resource *resource, QString tgt_id) |
| 596 | { |
no outgoing calls
no test coverage detected