Logo Search packages:      
Sourcecode: kchmviewer version File versions  Download package

bool CHMFile::ResolveObject ( const QString &  fileName,
chmUnitInfo *  ui 
)

Looks up fileName in the archive.

Parameters:
fileName The file name to look up in the archive, qualified with '/' standing for the root of the archive filesystem.
ui A pointer to CHMLIB specific data about the file. The parameter gets filled with useful data if the lookup was succesful.
Returns:
true if the file exists in the archive, false otherwise.

Definition at line 645 of file xchmfile.cpp.

References m_chmFile.

Referenced by GetFileContentAsString(), InfoFromSystem(), InfoFromWindows(), LoadCHM(), and ParseHhcAndFillTree().

{
      return m_chmFile != NULL 
      && ::chm_resolve_object(m_chmFile, fileName.ascii(), ui) ==
CHM_RESOLVE_SUCCESS;
}


Generated by  Doxygen 1.6.0   Back to index