CParseFile* CParseFile::Create(LPCTSTR filename, CTokenizer* tokenizer) { CParseFile* theParseFile = new CParseFile(); if ( theParseFile->Init(filename, tokenizer) ) return theParseFile; return NULL; }
CParseFile* CParseFile::Create() { CParseFile* theParseFile = new CParseFile(); if ( !theParseFile->Init() ) { delete theParseFile; return NULL; } return theParseFile; }