1 /*
2 grive: an GPL program to sync a local directory with Google Drive
3 Copyright (C) 2012 Wan Wai Ho
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation version 2
8 of the License.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19
20 #include "Feed.hh"
21
22 #include "Entry.hh"
23
24 #include "http/Agent.hh"
25
26 namespace gr {
27
Feed(const std::string & url)28 Feed::Feed( const std::string &url ):
29 m_next( url )
30 {
31 }
32
~Feed()33 Feed::~Feed()
34 {
35 }
36
begin() const37 Feed::iterator Feed::begin() const
38 {
39 return m_entries.begin() ;
40 }
41
end() const42 Feed::iterator Feed::end() const
43 {
44 return m_entries.end() ;
45 }
46
47 } // end of namespace gr::v1
48