Logo Search packages:      
Sourcecode: djvulibre version File versions

GURL DjVuPortcaster::id_to_url ( const DjVuPort source,
const GUTF8String id 
) [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-empty {GURL}.

Definition at line 494 of file DjVuPort.cpp.

References GURL::is_empty().

Referenced by DjVuFile::unlink_file().

{
   GPList<DjVuPort> list;
   compute_closure(source, list, true);
   GURL url;
   for(GPosition pos=list;pos;++pos)
   {
      url=list[pos]->id_to_url(source, id);
      if (!url.is_empty()) break;
   }
   return url;
}


Generated by  Doxygen 1.6.0   Back to index