// called by CProjectDoc when it is saving void CInputDoc::writeParams(ofstream & fout) { fout << "\\" << getBeginMarker() << " \"" << getInputFilePath() << "\"\n"; fout << "\\windowPlacement "; outputWindowPlacement(fout, getWindow()); getProcessingPrefs()->writeToFile(fout); fout << "\\" << getEndMarker() << "\n"; }
void CProcessingPrefs::writeToFile(ostream& fout) const { USES_CONVERSION_U8; fout << "\\" << T2CU8(getBeginMarker()) << "\n"; if(m_pInputLang) fout << "\\InputLangID " << T2CU8(m_pInputLang->getUniqueID()) << "\n"; if(m_pTargetLang) fout << "\\TargetLangID " << T2CU8(m_pTargetLang->getUniqueID()) << "\n"; fout << "\\Verbosity " << m_iVerbosity << "\n"; fout << "\\Goal " << m_iGoal << "\n"; fout << "\\Flags " << m_dwFlags << '\n'; fout << "\\" << ksrcEndMarker << "\n"; }