Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< DataPool > DjVuPortcaster::request_data ( const DjVuPort source,
const GURL url 
) [virtual]

Computes destination list for source# and calls the corresponding function in each of the ports from the destination list starting from the closest until one of them returns non-zero {DataPool}.

Definition at line 517 of file DjVuPort.cpp.

Referenced by DjVuFile::init(), DjVuDocEditor::save_as(), and DjVuDocument::start_init().

{
   GPList<DjVuPort> list;
   compute_closure(source, list, true);
   GP<DataPool> data;
   for(GPosition pos=list;pos;++pos)
     if ((data = list[pos]->request_data(source, url)))
       break;
   return data;
}


Generated by  Doxygen 1.6.0   Back to index