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

Method ResetFileStatusInfo

src/BaseClient.cpp:1987–2008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1985
1986
1987void CUpDownClient::ResetFileStatusInfo()
1988{
1989 m_nPartCount = 0;
1990
1991 if ( m_reqfile ) {
1992 m_reqfile->UpdatePartsFrequency( this, false );
1993 }
1994 m_downPartStatus.clear();
1995
1996 m_clientFilename.Clear();
1997
1998 m_bCompleteSource = false;
1999 m_dwLastAskedTime = 0;
2000 m_iRating = 0;
2001 m_strComment.Clear();
2002
2003 if (m_pReqFileAICHHash != NULL) {
2004 delete m_pReqFileAICHHash;
2005 m_pReqFileAICHHash = NULL;
2006 }
2007
2008}
2009
2010wxString CUpDownClient::GetUploadFileInfo()
2011{

Callers 1

RemoveSourceMethod · 0.80

Calls 3

UpdatePartsFrequencyMethod · 0.80
clearMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected