root/http/resource_exception.hh

Revision cc0a570a9262613f7046938be649f27646987cb8, 1.4 KB (checked in by Antti-Juhani Kaijanaho <antti-juhani@…>, 2 years ago)

Add support for Atom feeds, and implement a group feed

Partially addresses #8

Signed-off-by: Antti-Juhani Kaijanaho <antti-juhani@…>

  • Property mode set to 100644
Line 
1/*  This file is part of Alue, the multiprotocol Internet discussion daemon
2
3    Copyright © 2009 Antti-Juhani Kaijanaho
4
5    Alue is free software: you can redistribute it and/or modify it
6    under the terms of the GNU General Public License as published by
7    the Free Software Foundation, either version 3 of the License, or
8    (at your option) any later version.
9
10    Alue is distributed in the hope that it will be useful, but
11    WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13    General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with Alue.  If not, see <http://www.gnu.org/licenses/>.
17
18 */
19
20#ifndef GUARD_HTTP_RESOURCE_EXCEPTION_HH
21#define GUARD_HTTP_RESOURCE_EXCEPTION_HH
22
23#include "resource.hh"
24#include "session.hh"
25
26namespace http
27{
28        struct resource_exception
29        {
30                const boost::shared_ptr<resource> r;
31                const boost::shared_ptr<session> s;
32                resource_exception(boost::shared_ptr<resource> r,
33                                   boost::shared_ptr<session> s =
34                                   boost::shared_ptr<session>())
35                        : r(r)
36                        , s(s)
37                        {}
38        };
39}
40
41
42#endif /* GUARD_HTTP_RESOURCE_EXCEPTION_HH */
Note: See TracBrowser for help on using the browser.