32 #ifndef __KMAIL_BODYPARTFORMATTER_H__ 33 #define __KMAIL_BODYPARTFORMATTER_H__ 39 class ObjectTreeParser; 42 class BodyPartFormatter { 43 const BodyPartFormatter & operator=( const BodyPartFormatter & ); 44 BodyPartFormatter( const BodyPartFormatter & ); 46 BodyPartFormatter() {} 48 virtual ~BodyPartFormatter() {} 50 virtual bool process( ObjectTreeParser *, partNode *, ProcessResult & ) const = 0; 52 static const BodyPartFormatter * createFor( int type, int subtype ); 53 static const BodyPartFormatter * createFor( const char * type, const char * subtype ); 58 #endif // __KMAIL_BODYPARTFORMATTER_H__
|