Public Member Functions | Protected Member Functions

IE_Imp_Psion_Sniffer Class Reference

#include <ie_imp_Psion.h>

Inheritance diagram for IE_Imp_Psion_Sniffer:
IE_ImpSniffer IE_Imp_Psion_TextEd_Sniffer IE_Imp_Psion_Word_Sniffer

List of all members.

Public Member Functions

 IE_Imp_Psion_Sniffer (const char *_name)
virtual ~IE_Imp_Psion_Sniffer ()

Protected Member Functions

UT_Confidence_t checkContents (const char *szBuf, UT_uint32 iNumbytes, psiconv_file_type_t filetype)

Constructor & Destructor Documentation

IE_Imp_Psion_Sniffer::IE_Imp_Psion_Sniffer ( const char *  _name  )  [inline]
virtual IE_Imp_Psion_Sniffer::~IE_Imp_Psion_Sniffer (  )  [inline, virtual]

Member Function Documentation

UT_Confidence_t IE_Imp_Psion_Sniffer::checkContents ( const char *  szBuf,
UT_uint32  iNumbytes,
psiconv_file_type_t  filetype 
) [protected]

Check whether this is a Psion file of the given type

This is used by the recognizeContents methods of the Word and TextEd sniffers.

Psion files have strong magic, so we either return UT_CONFIDENCE_PERFECT or UT_CONFIDENCE_ZILCH.

Referenced by IE_Imp_Psion_TextEd_Sniffer::recognizeContents(), and IE_Imp_Psion_Word_Sniffer::recognizeContents().

The documentation for this class was generated from the following files: