Exemple #1
0
// 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";
}
// called by CCarlaLanguage when it is saving
void CLangModelsDoc::writeParams(ofstream & fout)
{
	fout << "\\" << getLangDocBeginMarker() << "\n";

	CWnd* pWnd = getFrame();
	if(pWnd) // will be null when we just did an conversion-import
	{
		fout << "\\windowPlacement ";
		outputWindowPlacement(fout, getFrame());
	}
	fout << "\\-LangDoc\n";
}