Separate imp+rep from public interfaces for some clases, Routers,
[metaproxy-moved-to-github.git] / src / router_flexml.hpp
1 /* $Id: router_flexml.hpp,v 1.6 2005-11-10 23:10:42 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4    %LICENSE%
5 */
6
7 #include "router.hpp"
8
9 #include <stdexcept>
10
11 #include <boost/scoped_ptr.hpp>
12
13 namespace yp2 
14 {
15     class RouterFleXML : public yp2::Router 
16     {
17         class Rep;
18     public:
19         RouterFleXML(std::string xmlconf);
20         
21         ~RouterFleXML();
22         
23         virtual const filter::Base *move(const filter::Base *filter,
24                                          const Package *package) const;
25     private:
26         boost::scoped_ptr<Rep> m_p;
27     };
28  
29 };
30
31
32 /*
33  * Local variables:
34  * c-basic-offset: 4
35  * indent-tabs-mode: nil
36  * c-file-style: "stroustrup"
37  * End:
38  * vim: shiftwidth=4 tabstop=8 expandtab
39  */