| 784 | } |
| 785 | |
| 786 | bool CDbSigs::SearchCom(CString strCom) |
| 787 | { |
| 788 | bool bFound = false; |
| 789 | bool bDone = false; |
| 790 | unsigned nInd = 0; |
| 791 | if (strCom.GetLength() == 0) { |
| 792 | bDone = true; |
| 793 | } |
| 794 | while (!bDone) { |
| 795 | if (nInd >= m_nXcomSwListNum) { |
| 796 | bDone = true; |
| 797 | } else { |
| 798 | if (strCom.Find(m_sXComSwList[nInd]) != -1) { |
| 799 | bFound = true; |
| 800 | bDone = true; |
| 801 | } |
| 802 | nInd++; |
| 803 | } |
| 804 | } |
| 805 | return bFound; |
| 806 | } |
| 807 | |
| 808 | // Returns total of built-in plus local DB |
| 809 | unsigned CDbSigs::GetDBNumEntries() |