filter factory in working shape, see example in test_filer_factory.cpp
[metaproxy-moved-to-github.git] / src / filter_z3950_client.hpp
1 /* $Id: filter_z3950_client.hpp,v 1.3 2005-10-29 22:23:36 marc Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 #ifndef FILTER_Z3950_CLIENT_HPP
8 #define FILTER_Z3950_CLIENT_HPP
9
10 #include <stdexcept>
11 #include <list>
12 #include <boost/scoped_ptr.hpp>
13
14 #include "filter.hpp"
15
16 namespace yp2 {
17     namespace filter {
18         class Z3950Client : public Base {
19             class Rep;
20             class Assoc;
21         public:
22             ~Z3950Client();
23             Z3950Client();
24             void process(yp2::Package & package) const;
25             const std::string type() const {
26                 return "Z3950Client";
27             };
28         private:
29             boost::scoped_ptr<Rep> m_p;
30         };
31     }
32 }
33
34 #endif
35 /*
36  * Local variables:
37  * c-basic-offset: 4
38  * indent-tabs-mode: nil
39  * c-file-style: "stroustrup"
40  * End:
41  * vim: shiftwidth=4 tabstop=8 expandtab
42  */