LCOV - code coverage report
Current view: top level - lib/FangFeedParser - RawFeed.h (source / functions) Coverage Total Hit
Test: coverage.info.cleaned Lines: 100.0 % 1 1
Test Date: 2026-04-19 00:35:54 Functions: 100.0 % 1 1

            Line data    Source code
       1              : #ifndef RAWFEED_H
       2              : #define RAWFEED_H
       3              : 
       4              : #include <memory>
       5              : 
       6              : #include <QList>
       7              : #include <QString>
       8              : #include <QUrl>
       9              : #include <QDateTime>
      10              : 
      11              : #include "RawNews.h"
      12              : 
      13              : class RawFeed
      14              : {
      15              : public:
      16              :     enum FeedType { RSS = 0, GoogleNewsSitemap = 1, JSONFeed = 2 };
      17              : 
      18          172 :     RawFeed() = default;
      19              : 
      20              :     FeedType feedType = RSS;
      21              : 
      22              :     QString title;
      23              :     QString subtitle;
      24              :     QUrl url;
      25              :     QDateTime lastUpdated;
      26              :     quint32 minutesToUpdate = 0;
      27              :     QUrl siteURL;
      28              :     QUrl imageURL;
      29              : 
      30              :     QList<std::shared_ptr<RawNews>> items;
      31              : 
      32              :     bool isPodcast = false;
      33              : };
      34              : 
      35              : #endif // RAWFEED_H
        

Generated by: LCOV version 2.0-1