D15760: WIP: Interface for mail headers in MimeTreeParser

Sandro Knauß noreply at phabricator.kde.org
Wed Sep 26 08:57:28 BST 2018


knauss added a comment.


  @vkrause: Unfortunately I forgotten what we discussed at Akademy what a better interface would look like. That's why I started now to implement that one.  I think we thought at something like a "HeaderObject":
  
    const auto headerObject = nodeHelper->headerObject(message);
    headerObject->hasHeader("to");
    headerObject->header("simple"); /return Base
    headerObject->asAddressList("to");
    headerObject->date();

REPOSITORY
  R94 PIM: Message Library

REVISION DETAIL
  https://phabricator.kde.org/D15760

To: knauss, vkrause
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180926/a14beb77/attachment.html>


More information about the kde-pim mailing list