New framework: KCalCore

Alexander Potashev aspotashev at gmail.com
Mon Jul 15 03:42:04 BST 2019


пт, 12 июл. 2019 г. в 19:25, Volker Krause <vkrause at kde.org>:
> - Alexander P's fundamental objections to the current KCalCore API

After studing kcalcore sources again and also its usages with LXR, I
realize that i would be painful to remove the FileStorage
functionality because it implements format detection, and it's hard to
decide in what use cases we can or cannot drop format detection (vCal1
vs iCal2).

For use cases where file operations have to be asynchronous, the
FileStorage layer can be ignored and
ICalFormat::fromRawString()/fromString()/toString() used directly
instead (however I didn't try this approach yet because it's
uncommon).

All in all, I agree to follow the golden rule "if it works, don't touch it".

-- 
Alexander Potashev


More information about the kde-pim mailing list