| 1360 | } |
| 1361 | |
| 1362 | void CKnownFile::SetAutoUpPriority(bool flag){ |
| 1363 | if (m_bAutoUpPriority != flag && IsPartFile()) { |
| 1364 | static_cast<CPartFile*>(this)->MarkMetDirty(); |
| 1365 | } |
| 1366 | if (m_bAutoUpPriority != flag) { |
| 1367 | // EC exports prio with the auto flag folded in (+10 offset for auto). |
| 1368 | MarkECChanged(); |
| 1369 | } |
| 1370 | m_bAutoUpPriority = flag; |
| 1371 | } |
| 1372 | |
| 1373 | void CKnownFile::SetPublishedED2K(bool val){ |
| 1374 | if (m_PublishedED2K == val) { |
no test coverage detected