34 #ifndef __KMAIL_INTERFACE_BODYPARTFORMATTER_H__ 35 #define __KMAIL_INTERFACE_BODYPARTFORMATTER_H__ 44 class BodyPartURLHandler; 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; 95 #endif // __KMAIL_INTERFACE_BODYPARTFORMATTER_H__ interface for BodyPartFormatter plugins
An interface to body part reader link handlers.
An interface to HTML sinks.
The user rights/ACL have been fetched from the server sucessfully.
|