34#ifndef __KMAIL_INTERFACE_BODYPARTFORMATTER_H__
35#define __KMAIL_INTERFACE_BODYPARTFORMATTER_H__
46 class BodyPartFormatter {
48 virtual ~BodyPartFormatter() {}
56 enum Result { Ok, NeedContent, AsIcon, Failed };
64 virtual Result format( BodyPart * part, KMail::HtmlWriter * writer, Callback &c ) const = 0;
84 virtual const BodyPartFormatter * bodyPartFormatter( int idx ) const = 0;
85 virtual const char * type( int idx ) const = 0;
86 virtual const char * subtype( int idx ) const = 0;
This class is used for callback hooks needed by bodypart formatter plugins.
An interface to HTML sinks.
interface for BodyPartFormatter plugins
An interface to body part reader link handlers.
interface of message body parts.
An interface for HTML sinks.
|