| 699 | } |
| 700 | bool IsScriptOutofSync(char *name); |
| 701 | void CScriptMassCompile::OnOosscripts() { |
| 702 | CCheckListBox *list = (CCheckListBox *)GetDlgItem(IDC_LIST); |
| 703 | if (!list) |
| 704 | return; |
| 705 | |
| 706 | char filename[_MAX_PATH]; |
| 707 | int count = list->GetCount(); |
| 708 | for (int i = 0; i < count; i++) { |
| 709 | list->GetText(i, filename); |
| 710 | strcat(filename, ".cpp"); |
| 711 | |
| 712 | if (IsScriptOutofSync(filename)) { |
| 713 | list->SetCheck(i, 1); |
| 714 | list->SetSel(i, TRUE); |
| 715 | } else { |
| 716 | list->SetCheck(i, 0); |
| 717 | list->SetSel(i, FALSE); |
| 718 | } |
| 719 | } |
| 720 | } |
| 721 | |
| 722 | void CScriptMassCompile::OnNocheckout() { |
| 723 | // TODO: Add your control notification handler code here |
nothing calls this directly
no test coverage detected