1 #include "FeedChannel.h"
3 namespace tizen_browser{
6 std::string FeedChannel::getAuthor() const {
10 void FeedChannel::setAuthor(const std::string& author) {
11 this->m_author = author;
14 std::string FeedChannel::getDescription() const {
18 void FeedChannel::setDescription(const std::string& description) {
19 this->m_description = description;
22 FeedItemList FeedChannel::getItems() const {
26 void FeedChannel::setItems(const FeedItemList& items) {
27 this->m_items = items;
30 void FeedChannel::addItem(std::shared_ptr<FeedItem> item)
32 this->m_items.push_back(item);
35 boost::posix_time::ptime FeedChannel::getLastBuildDate() const {
36 return m_lastBuildDate;
39 void FeedChannel::setLastBuildDate(const boost::posix_time::ptime& lastBuildDate) {
40 this->m_lastBuildDate = lastBuildDate;
43 std::string FeedChannel::getTitle() const {
47 void FeedChannel::setTitle(const std::string& title) {
48 this->m_title = title;
51 std::string FeedChannel::getUrl() const {
55 void FeedChannel::setUrl(const std::string& url) {
59 std::string FeedChannel::getRealUrl() const {
63 void FeedChannel::setRealUrl(const std::string& url) {
64 this->m_realUrl = url;
67 std::shared_ptr<BrowserImage> FeedChannel::getFavicon()
72 void FeedChannel::setFavicon(std::shared_ptr<BrowserImage> favicon)
74 this->m_favicon = favicon;