bool CRecentlyAddedJob::DoWork() { bool ret = true; if (m_flag & Audio) ret &= UpdateMusic(); if (m_flag & Video) ret &= UpdateVideo(); if (m_flag & Totals) ret &= UpdateTotal(); return ret; }
bool CHomeShelfJob::DoWork() { bool ret = true; if (m_flag & Audio) ret &= UpdateMusic(); if (m_flag & Video) ret &= UpdateVideo(); if (m_flag & Totals) ret &= UpdateTotal(); return ret; }