void TcompatibilityList::dlg2cfg(void) { char_t complist0[MAX_COMPATIBILITYLIST_LENGTH]; GetDlgItemText(m_hwnd, IDC_ED_COMPATIBILITYLIST, complist0, MAX_COMPATIBILITYLIST_LENGTH); ffstring complistResult; TdirectshowControlPageDec::convertDelimit(complist0, _l("\r\n"), complistResult, getDelimit()); cfgSet(IDFF_target, complistResult.c_str()); }
void KeyEntry::assign(const string& sentry) { string remains = trim(sentry); size_t found = remains.find(getDelimit()); if (found != string::npos) { first(trim(remains.substr(0, int(found)))); second(trim(remains.substr(int(found) + 1))); } }
void TcompatibilityList::cfg2dlg(const char_t *newFileName) { cfg2dlgI(cfgGetStr(IDFF_target), newFileName, getDelimit()); }