Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< DjVuDocument > DjVuDocument::create_wait ( const GURL url,
GP< DjVuPort xport = 0,
DjVuFileCache *const   xcache = 0 
) [static]

Create a version of DjVuDocument which has finished initializing.

Definition at line 148 of file DjVuDocument.cpp.

References create().

Referenced by DjVuImage::decode(), and DjVuDocEditor::init().

{
  GP<DjVuDocument> retval=create(url,xport,xcache);
  retval->wait_for_complete_init();
  return retval;
}


Generated by  Doxygen 1.6.0   Back to index