MCPcopy Create free account
hub / github.com/amule-project/amule / LoadComment

Method LoadComment

src/KnownFile.cpp:1651–1663  ·  view source on GitHub ↗

For File Comment //

Source from the content-addressed store, hash-verified

1649
1650//For File Comment //
1651void 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
1666wxString CKnownFile::GetAICHMasterHash() const

Callers

nothing calls this directly

Calls 2

EncodeMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected