GPL v2.
[metaproxy-moved-to-github.git] / src / filter_log.hpp
1 /* $Id: filter_log.hpp,v 1.19 2007-05-09 21:23:09 adam Exp $
2    Copyright (c) 2005-2007, Index Data.
3
4 This file is part of Metaproxy.
5
6 Metaproxy is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
9 version.
10
11 Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Metaproxy; see the file LICENSE.  If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA.
20  */
21
22 #ifndef FILTER_LOG_HPP
23 #define FILTER_LOG_HPP
24
25 #include <boost/scoped_ptr.hpp>
26 #include <boost/shared_ptr.hpp>
27
28 #include "filter.hpp"
29
30 namespace metaproxy_1 {
31     namespace filter {
32         class Log : public Base {
33         public:
34             Log();
35             Log(const std::string &x);
36             ~Log();
37             void process(metaproxy_1::Package & package) const;
38             void configure(const xmlNode * ptr);
39             //class LFile;
40         private:
41             class Impl;
42             boost::scoped_ptr<Impl> m_p;
43         };
44     }
45 }
46
47 extern "C" {
48     extern struct metaproxy_1_filter_struct metaproxy_1_filter_log;
49 }
50
51 #endif
52 /*
53  * Local variables:
54  * c-basic-offset: 4
55  * indent-tabs-mode: nil
56  * c-file-style: "stroustrup"
57  * End:
58  * vim: shiftwidth=4 tabstop=8 expandtab
59  */