#pragma once #include #include #include class QXmlStreamReader; struct AtomChannelImage { // TODO: move to interface static inline const QString tag{"image"}; // TODO: remove, use shared_ptr in AtomChannel AtomChannelImage() = default; explicit AtomChannelImage(QXmlStreamReader *xmlReader); /*! * \brief url - url of image file */ QUrl url; QString title; /*! * \brief link - link to website */ QUrl link; size_t width{0}; size_t height{0}; }; QDebug operator<<(QDebug debug, const AtomChannelImage &image);