Changeset View
Changeset View
Standalone View
Standalone View
messageviewer/src/interfaces/bodypart.h
Show All 39 Lines | |||||
40 | namespace KMime | 40 | namespace KMime | ||
41 | { | 41 | { | ||
42 | class Content; | 42 | class Content; | ||
43 | } | 43 | } | ||
44 | 44 | | |||
45 | namespace MessageViewer | 45 | namespace MessageViewer | ||
46 | { | 46 | { | ||
47 | class NodeHelper; | 47 | class NodeHelper; | ||
48 | class ObjectTreeParser; | ||||
49 | class ProcessResult; | ||||
48 | namespace Interface | 50 | namespace Interface | ||
49 | { | 51 | { | ||
50 | 52 | | |||
51 | /*FIXME(Andras) review, port | 53 | /*FIXME(Andras) review, port | ||
52 | class Observer; | 54 | class Observer; | ||
53 | class Observable; | 55 | class Observable; | ||
54 | */ | 56 | */ | ||
55 | /** | 57 | /** | ||
▲ Show 20 Lines • Show All 127 Lines • ▼ Show 20 Line(s) | 91 | public: | |||
183 | */ | 185 | */ | ||
184 | virtual KMime::Content *topLevelContent() const = 0; | 186 | virtual KMime::Content *topLevelContent() const = 0; | ||
185 | 187 | | |||
186 | /** | 188 | /** | ||
187 | * Ok, this is ugly, exposing the node helper here, but there is too much useful stuff in there | 189 | * Ok, this is ugly, exposing the node helper here, but there is too much useful stuff in there | ||
188 | * for real-world plugins. Still, there should be a nicer way for this. | 190 | * for real-world plugins. Still, there should be a nicer way for this. | ||
189 | */ | 191 | */ | ||
190 | virtual MessageViewer::NodeHelper *nodeHelper() const = 0; | 192 | virtual MessageViewer::NodeHelper *nodeHelper() const = 0; | ||
193 | | ||||
194 | /** | ||||
195 | * For making it easier to refactor, add objectTreeParser | ||||
196 | */ | ||||
197 | virtual MessageViewer::ObjectTreeParser *objectTreeParser() const = 0; | ||||
198 | virtual MessageViewer::ProcessResult *processResult() const = 0; | ||||
191 | }; | 199 | }; | ||
192 | 200 | | |||
193 | } // namespace Interface | 201 | } // namespace Interface | ||
194 | 202 | | |||
195 | } | 203 | } | ||
196 | 204 | | |||
197 | #endif // __KMAIL_INTERFACES_BODYPART_H__ | 205 | #endif // __KMAIL_INTERFACES_BODYPART_H__ |