00001 // 00002 // aegis - project change supervisor 00003 // Copyright (C) 2005 Matthew Lee 00004 // Copyright (C) 2008 Peter Miller 00005 // 00006 // This program is free software; you can redistribute it and/or modify 00007 // it under the terms of the GNU General Public License as published by 00008 // the Free Software Foundation; either version 3 of the License, or 00009 // (at your option) any later version. 00010 // 00011 // This program is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 // GNU General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU General Public License 00017 // along with this program. If not, see 00018 // <http://www.gnu.org/licenses/>. 00019 // 00020 00021 #ifndef LIBAEGIS_XML_NODE_RSS_ITEM_H 00022 #define LIBAEGIS_XML_NODE_RSS_ITEM_H 00023 00024 #include <libaegis/xml_node/rss.h> 00025 00026 // Forward declarations 00027 class rss_item; 00028 00046 class xml_node_rss_item: 00047 public xml_node_rss 00048 { 00049 public: 00053 virtual ~xml_node_rss_item(); 00054 00065 xml_node_rss_item(rss_item *the_item, xml_text_reader_by_node &reader, 00066 output::pointer out); 00067 00071 xml_node_rss_item(const xml_node_rss_item &); 00072 00076 virtual void element_begin(const nstring &name); 00077 00081 virtual void element_end(const nstring &name); 00082 00086 int num_items() const; 00087 00088 private: 00092 rss_item *new_item; 00093 00097 int num_items_found; 00098 00102 xml_node_rss_item(); 00103 00107 xml_node_rss_item &operator=(const xml_node_rss_item &); 00108 }; 00109 00110 #endif // LIBAEGIS_XML_NODE_RSS_ITEM_H