summaryrefslogtreecommitdiffstats
path: root/dcoprss/rssnewsfeed.h
diff options
context:
space:
mode:
Diffstat (limited to 'dcoprss/rssnewsfeed.h')
-rw-r--r--dcoprss/rssnewsfeed.h72
1 files changed, 52 insertions, 20 deletions
diff --git a/dcoprss/rssnewsfeed.h b/dcoprss/rssnewsfeed.h
index ee300655..0741ac2b 100644
--- a/dcoprss/rssnewsfeed.h
+++ b/dcoprss/rssnewsfeed.h
@@ -82,31 +82,63 @@ class RSSNewsFeed
inline TQDataStream &operator<<( TQDataStream &stream, const RSSNewsFeed &feed )
{
- return stream << feed.m_id << feed.m_name << feed.m_description
- << feed.m_origin << feed.m_languageCode << feed.m_status
- << feed.m_version << feed.m_homePage << feed.m_sourceFile
- << feed.m_imageUrl << feed.m_webmaster << feed.m_publisher
- << feed.m_creator << feed.m_dateCreated << feed.m_dateApproved
- << feed.m_dateXmlChanged << feed.m_fetchable << feed.m_views
- << feed.m_headlinesPerDay << feed.m_headlinesRank
- << feed.m_toolkit << feed.m_toolkitVersion
- << feed.m_pollingInterval << feed.m_lastPoll
- << feed.m_categories;
+ stream << feed.m_id;
+ stream << feed.m_name;
+ stream << feed.m_description;
+ stream << feed.m_origin;
+ stream << feed.m_languageCode;
+ stream << feed.m_status;
+ stream << feed.m_version;
+ stream << feed.m_homePage;
+ stream << feed.m_sourceFile;
+ stream << feed.m_imageUrl;
+ stream << feed.m_webmaster;
+ stream << feed.m_publisher;
+ stream << feed.m_creator;
+ stream << feed.m_dateCreated;
+ stream << feed.m_dateApproved;
+ stream << feed.m_dateXmlChanged;
+ stream << feed.m_fetchable;
+ stream << feed.m_views;
+ stream << feed.m_headlinesPerDay;
+ stream << feed.m_headlinesRank;
+ stream << feed.m_toolkit;
+ stream << feed.m_toolkitVersion;
+ stream << feed.m_pollingInterval;
+ stream << feed.m_lastPoll;
+ stream << feed.m_categories;
+
+ return stream;
}
inline TQDataStream &operator>>( TQDataStream &stream, RSSNewsFeed &feed )
{
int i;
- stream >> feed.m_id >> feed.m_name >> feed.m_description
- >> feed.m_origin >> feed.m_languageCode >> feed.m_status
- >> feed.m_version >> feed.m_homePage >> feed.m_sourceFile
- >> feed.m_imageUrl >> feed.m_webmaster >> feed.m_publisher
- >> feed.m_creator >> feed.m_dateCreated >> feed.m_dateApproved
- >> feed.m_dateXmlChanged >> i >> feed.m_views
- >> feed.m_headlinesPerDay >> feed.m_headlinesRank
- >> feed.m_toolkit >> feed.m_toolkitVersion
- >> feed.m_pollingInterval >> feed.m_lastPoll
- >> feed.m_categories;
+ stream >> feed.m_id;
+ stream >> feed.m_name;
+ stream >> feed.m_description;
+ stream >> feed.m_origin;
+ stream >> feed.m_languageCode;
+ stream >> feed.m_status;
+ stream >> feed.m_version;
+ stream >> feed.m_homePage;
+ stream >> feed.m_sourceFile;
+ stream >> feed.m_imageUrl;
+ stream >> feed.m_webmaster;
+ stream >> feed.m_publisher;
+ stream >> feed.m_creator;
+ stream >> feed.m_dateCreated;
+ stream >> feed.m_dateApproved;
+ stream >> feed.m_dateXmlChanged;
+ stream >> i;
+ stream >> feed.m_views;
+ stream >> feed.m_headlinesPerDay;
+ stream >> feed.m_headlinesRank;
+ stream >> feed.m_toolkit;
+ stream >> feed.m_toolkitVersion;
+ stream >> feed.m_pollingInterval;
+ stream >> feed.m_lastPoll;
+ stream >> feed.m_categories;
feed.m_fetchable = i != 0;
return stream;
}