| 116 | } |
| 117 | |
| 118 | int CBookmarkCollection::GetBookmarkIndex(const CBookmark *pMark) const |
| 119 | { |
| 120 | if (unsigned Count = GetCount()) |
| 121 | for (size_t i = 0; i < Count; ++i) |
| 122 | if (m_pBookmark[i].get() == pMark) |
| 123 | return i; |
| 124 | return -1; |
| 125 | } |
| 126 | |
| 127 | CBookmark *CBookmarkCollection::FindAt(unsigned Frame, unsigned Row) const |
| 128 | { |
no test coverage detected