Logo Search packages:      
Sourcecode: djvulibre version File versions

void DjVuDocument::init ( const GURL url,
GP< DjVuPort port = 0,
DjVuFileCache cache = 0 
) [inline]

Initializes the document.

Contrary to {start_init}(), which just starts the initialization thread in a multi-threaded environment, this function does not return until the initialization completes (either successfully or not). Basically, it calls {start_init}() and then {wait_for_complete_init}().

Definition at line 922 of file DjVuDocument.h.

References start_init(), and wait_for_complete_init().

Referenced by DjVuDocEditor::init().

{
  start_init(url,port,cache);
  wait_for_complete_init();
}


Generated by  Doxygen 1.6.0   Back to index