f6b2e3833103673c8d248050156da004e015319b
[metaproxy-moved-to-github.git] / src / filter_template.hpp
1 /* $Id: filter_template.hpp,v 1.3 2006-01-04 11:19:04 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 // Filter that does nothing. Use as template for new filters 
8 #ifndef FILTER_TEMPLATE_HPP
9 #define FILTER_TEMPLATE_HPP
10
11 #include <boost/scoped_ptr.hpp>
12
13 #include "filter.hpp"
14
15 namespace yp2 {
16     namespace filter {
17         class Template : public Base {
18             class Rep;
19             boost::scoped_ptr<Rep> m_p;
20         public:
21             Template();
22             ~Template();
23             void process(yp2::Package & package) const;
24         };
25     }
26 }
27
28 extern "C" {
29     extern const struct yp2_filter_struct yp2_filter_template;
30 }
31
32 #endif
33 /*
34  * Local variables:
35  * c-basic-offset: 4
36  * indent-tabs-mode: nil
37  * c-file-style: "stroustrup"
38  * End:
39  * vim: shiftwidth=4 tabstop=8 expandtab
40  */