bodypartformatterfactory.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef __KMAIL_BODYPARTFORMATTERFACTORY_H__
00035 #define __KMAIL_BODYPARTFORMATTERFACTORY_H__
00036
00037 class QString;
00038 class QCString;
00039
00040 namespace KMail {
00041
00042 namespace Interface {
00043 class BodyPartFormatter;
00044 }
00045
00046 class BodyPartFormatterFactory {
00047 class gcc_shut_up;
00048 friend class gcc_shut_up;
00049 public:
00050 ~BodyPartFormatterFactory();
00051
00052 static const BodyPartFormatterFactory * instance();
00053
00054 const Interface::BodyPartFormatter * createFor( const char * type, const char * subtype ) const;
00055 const Interface::BodyPartFormatter * createFor( const QString & type, const QString & subtype ) const;
00056 const Interface::BodyPartFormatter * createFor( const QCString & type, const QCString & subtype ) const;
00057
00058
00059
00060
00061 private:
00062 BodyPartFormatterFactory();
00063 static BodyPartFormatterFactory * mSelf;
00064 private:
00065
00066 const BodyPartFormatterFactory & operator=( const BodyPartFormatterFactory & );
00067 BodyPartFormatterFactory( const BodyPartFormatterFactory & );
00068 };
00069
00070 }
00071
00072 #endif // __KMAIL_BODYPARTFORMATTERFACTORY_H__
This file is part of the documentation for kmail Library Version 3.3.2.