34 #ifndef __KMAIL_BODYPARTFORMATTERFACTORY_H__ 35 #define __KMAIL_BODYPARTFORMATTERFACTORY_H__ 43 class BodyPartFormatter; 46 class BodyPartFormatterFactory { 48 friend class ::KMail::BodyPartFormatterFactory::gcc_shut_up; 50 ~BodyPartFormatterFactory(); 52 static const BodyPartFormatterFactory * instance(); 54 const Interface::BodyPartFormatter * createFor( const char * type, const char * subtype ) const; 55 const Interface::BodyPartFormatter * createFor( const TQString & type, const TQString & subtype ) const; 56 const Interface::BodyPartFormatter * createFor( const TQCString & type, const TQCString & subtype ) const; 62 BodyPartFormatterFactory(); 63 static BodyPartFormatterFactory * mSelf; 66 const BodyPartFormatterFactory & operator=( const BodyPartFormatterFactory & ); 67 BodyPartFormatterFactory( const BodyPartFormatterFactory & ); 72 #endif // __KMAIL_BODYPARTFORMATTERFACTORY_H__
|