Changeset View
Changeset View
Standalone View
Standalone View
mimetreeparser/src/interfaces/bodypartformatter.h
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Line(s) | 84 | /** | |||
---|---|---|---|---|---|
95 | subtype=*, too. | 95 | subtype=*, too. | ||
96 | */ | 96 | */ | ||
97 | class MIMETREEPARSER_EXPORT BodyPartFormatterPlugin | 97 | class MIMETREEPARSER_EXPORT BodyPartFormatterPlugin | ||
98 | { | 98 | { | ||
99 | public: | 99 | public: | ||
100 | virtual ~BodyPartFormatterPlugin(); | 100 | virtual ~BodyPartFormatterPlugin(); | ||
101 | 101 | | |||
102 | virtual const BodyPartFormatter *bodyPartFormatter(int idx) const = 0; | 102 | virtual const BodyPartFormatter *bodyPartFormatter(int idx) const = 0; | ||
103 | virtual const BodyPartURLHandler *urlHandler(int idx) const; | | |||
104 | }; | 103 | }; | ||
105 | } // namespace Interface | 104 | } // namespace Interface | ||
106 | } | 105 | } | ||
107 | 106 | | |||
108 | Q_DECLARE_INTERFACE(MimeTreeParser::Interface::BodyPartFormatterPlugin, "org.kde.messageviewer.bodypartformatter/1.0") | 107 | Q_DECLARE_INTERFACE(MimeTreeParser::Interface::BodyPartFormatterPlugin, "org.kde.messageviewer.bodypartformatter/1.0") | ||
109 | 108 | | |||
110 | #endif // __MIMETREEPARSER_INTERFACE_BODYPARTFORMATTER_H__ | 109 | #endif // __MIMETREEPARSER_INTERFACE_BODYPARTFORMATTER_H__ |