D8179: Extend MessagePart API as needed for porting the vcard plugin
Sandro Knauß
noreply at phabricator.kde.org
Mon Oct 9 10:18:07 BST 2017
knauss added inline comments.
INLINE COMMENTS
> messagepart.cpp:105
> +{
> + return nodeHelper()->bodyPartMemento(content(), "__plugin__");
> +}
add the classname of the messagepart to the mementoname/or replace it with this, with that we can also replace encryption and signature with this function.
> messagepart.cpp:150
> +{
> + // FIXME: use a PRNG for the first arg, instead of a serial number
> + static int serial = 0;
no code duplication just run the old method till you delete the old method
REPOSITORY
R94 PIM: Message Library
REVISION DETAIL
https://phabricator.kde.org/D8179
To: vkrause, knauss
Cc: #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20171009/beea2b5e/attachment.html>
More information about the kde-pim
mailing list