Here's the tedious bit; the fun internal logic can/will be implemented
later...

Okay, I've started collecting MIME types - see ie_FileInfo.h - and their
aliases - see ie_FileInfo.cpp - and would really like to have a MIME type
for each importer/exporter.

Sniffer constructors require a name now. I'm using "AbiWord::<name>" for
all native sniffers, and "<plug-in>::<name>" for all plug-ins. After a
dozen of these my brain seized up - as proof of this, editing the Psion
importer was exciting because it has *two* importers and two exporters!

o IE_ImpSniffer & IE_ExpSniffer constructors require a name now, which
  uniquely identifies the importer or the exporter - although an importer
  can share the same name as an exporter
- names of native importers&exporters are #defined in ie_types.h
o new supportsMIME() member for IE_ImpSniffer & IE_ExpSniffer
- ideally, all import/export sniffers should implement this method
  (defaults to no support)
o native import/export sniffers updated
o new ie_FileInfo class, now a member of pd_Document
- lots of MIME types #defined in ie_FileInfo.h
- aliases of standard MIME types mapped in ie_FileInfo.cpp

o update import/export sniffers to use new Imp/Exp mapping: Part 1/?

Regards, Frank

ps. Haven't tested to see whether the plug-ins still build... let's see if
    I can break the build twice in one week...

Francis James Franklin
[EMAIL PROTECTED]

  `Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
Radium, Sapphire, Silver and Steel.
  `Sapphire and Steel have been assigned...'

Reply via email to