For File Comment //
| 1649 | |
| 1650 | //For File Comment // |
| 1651 | void CKnownFile::LoadComment() const |
| 1652 | { |
| 1653 | #ifndef CLIENT_GUI |
| 1654 | wxString strCfgPath = "/" + m_abyFileHash.Encode() + "/"; |
| 1655 | |
| 1656 | wxConfigBase* cfg = wxConfigBase::Get(); |
| 1657 | |
| 1658 | m_strComment = cfg->Read( strCfgPath + "Comment", ""); |
| 1659 | m_iRating = cfg->Read( strCfgPath + "Rate", 0l); |
| 1660 | #endif |
| 1661 | |
| 1662 | m_bCommentLoaded = true; |
| 1663 | } |
| 1664 | |
| 1665 | |
| 1666 | wxString CKnownFile::GetAICHMasterHash() const |