Use boost::scoped_ptr for Log filter
[metaproxy-moved-to-github.git] / src / filter_log.hpp
1 /* $Id: filter_log.hpp,v 1.10 2005-12-11 17:23:05 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 #ifndef FILTER_LOG_HPP
8 #define FILTER_LOG_HPP
9
10 #include <boost/scoped_ptr.hpp>
11
12 #include "filter.hpp"
13
14 namespace yp2 {
15     namespace filter {
16         class Log : public Base {
17             class Rep;
18             boost::scoped_ptr<Rep> m_p;
19         public:
20             Log();
21             Log(const std::string &x);
22             ~Log();
23             void process(yp2::Package & package) const;
24         };
25     }
26 }
27
28 #endif
29 /*
30  * Local variables:
31  * c-basic-offset: 4
32  * indent-tabs-mode: nil
33  * c-file-style: "stroustrup"
34  * End:
35  * vim: shiftwidth=4 tabstop=8 expandtab
36  */