Added yp2::PlainFile class which reads Unix-style plain text files.
[metaproxy-moved-to-github.git] / src / filter_http_file.hpp
1 /* $Id: filter_http_file.hpp,v 1.1 2006-01-19 21:44:26 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 #ifndef FILTER_HTTP_FILE_HPP
8 #define FILTER_HTTP_FILE_HPP
9
10 #include <boost/scoped_ptr.hpp>
11
12 #include "filter.hpp"
13
14 namespace yp2 {
15     namespace filter {
16         class HttpFile : public Base {
17             class Rep;
18             class Area;
19             class Mime;
20             boost::scoped_ptr<Rep> m_p;
21         public:
22             HttpFile();
23             ~HttpFile();
24             void process(yp2::Package & package) const;
25         };
26     }
27 }
28
29 extern "C" {
30     extern struct yp2_filter_struct yp2_filter_http_file;
31 }
32
33 #endif
34 /*
35  * Local variables:
36  * c-basic-offset: 4
37  * indent-tabs-mode: nil
38  * c-file-style: "stroustrup"
39  * End:
40  * vim: shiftwidth=4 tabstop=8 expandtab
41  */