Example #1
0
bool CWizFolder::CanMove(const CString& strSrcLocation, const CString& strDestLocation) const
{
    if (m_db.GetDeletedItemsLocation() == strSrcLocation)
        return false;

    if (strDestLocation.startsWith(strSrcLocation))
        return false;

    return true;
}
Example #2
0
bool CWizDatabase::IsInDeletedItems(const CString& strLocation)
{
    return strLocation.startsWith(GetDeletedItemsLocation());
}