Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< DjVuDocument > DjVuDocument::create ( GP< DataPool pool,
GP< DjVuPort xport = 0,
DjVuFileCache *const   xcache = 0 
) [static]

Create a version of DjVuDocument which has begun initializing.

Definition at line 127 of file DjVuDocument.cpp.

References init_data_pool, and start_init().

{
  DjVuDocument *doc=new DjVuDocument;
  GP<DjVuDocument> retval=doc;
  doc->init_data_pool=pool;
  doc->start_init(GURL(),xport,xcache);
  return retval;
}


Generated by  Doxygen 1.6.0   Back to index