Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< DjVuFile > DjVuFile::create ( const GURL url,
GP< DjVuPort port = 0,
const ErrorRecoveryAction  recover_action = ABORT,
const bool  verbose_eof = true 
) [static]

Creator, does the init(const GURL &url, GP<DjVuPort> port=0)

Definition at line 211 of file DjVuFile.cpp.

References DjVuFile(), init(), set_recover_errors(), and set_verbose_eof().

{
  DjVuFile *file=new DjVuFile();
  GP<DjVuFile> retval=file;
  file->set_recover_errors(recover_errors);
  file->set_verbose_eof(verbose_eof);
  file->init(xurl,port);
  return retval;
}


Generated by  Doxygen 1.6.0   Back to index