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

Method SetStatus

src/PartFile.cpp:3791–3810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3789}
3790
3791void CPartFile::SetStatus(uint8 in)
3792{
3793 // PAUSED and INSUFFICIENT have extra flag variables m_paused and m_insufficient
3794 // - they are never to be stored in status
3795 wxASSERT( in != PS_PAUSED && in != PS_INSUFFICIENT );
3796
3797 if (status != in) {
3798 MarkMetDirty();
3799 }
3800 status = in;
3801
3802 if (theApp->IsRunning()) {
3803 UpdateDisplayedInfo( true );
3804
3805 if ( thePrefs::ShowCatTabInfos() ) {
3806 Notify_ShowUpdateCatTabTitles();
3807 }
3808 Notify_DownloadCtrlSort();
3809 }
3810}
3811
3812
3813void CPartFile::RequestAICHRecovery(uint16 nPart)

Callers 4

OnFinishedAllocationMethod · 0.45
CheckAICHHashesMethod · 0.45
EntryMethod · 0.45

Calls 1

IsRunningMethod · 0.45

Tested by

no test coverage detected