diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-09 16:31:30 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-09 16:31:30 +0100 |
commit | 9f6751df8e6f483b112c2b24c0bc725924f17356 (patch) | |
tree | df312279bacc53e5bb6b6181fc25282ce5b0dd8e /common/mailpreprocessor.h | |
parent | 9c8e4612403fc2accc26ac2b49670394972f1293 (diff) | |
download | sink-9f6751df8e6f483b112c2b24c0bc725924f17356.tar.gz sink-9f6751df8e6f483b112c2b24c0bc725924f17356.zip |
Move the BLOB property handling to the entitystore.
This is really part of the storage, and will help us to cleanly
implement features like moving properties into a temporary place when
reading in a clean way as well.
Diffstat (limited to 'common/mailpreprocessor.h')
-rw-r--r-- | common/mailpreprocessor.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/common/mailpreprocessor.h b/common/mailpreprocessor.h index f979f22..a24a8d3 100644 --- a/common/mailpreprocessor.h +++ b/common/mailpreprocessor.h | |||
@@ -30,16 +30,3 @@ protected: | |||
30 | virtual QString getFilePathFromMimeMessagePath(const QString &) const; | 30 | virtual QString getFilePathFromMimeMessagePath(const QString &) const; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | class SINK_EXPORT MimeMessageMover : public Sink::EntityPreprocessor<Sink::ApplicationDomain::Mail> | ||
34 | { | ||
35 | public: | ||
36 | MimeMessageMover(); | ||
37 | virtual ~MimeMessageMover(){} | ||
38 | |||
39 | void newEntity(Sink::ApplicationDomain::Mail &mail) Q_DECL_OVERRIDE; | ||
40 | void modifiedEntity(const Sink::ApplicationDomain::Mail &oldMail, Sink::ApplicationDomain::Mail &newMail) Q_DECL_OVERRIDE; | ||
41 | void deletedEntity(const Sink::ApplicationDomain::Mail &mail) Q_DECL_OVERRIDE; | ||
42 | |||
43 | private: | ||
44 | QString moveMessage(const QString &oldPath, const Sink::ApplicationDomain::Mail &mail); | ||
45 | }; | ||