Remove unused code.
[metaproxy-moved-to-github.git] / src / router_flexml.hpp
1 /* $Id: router_flexml.hpp,v 1.12 2006-01-09 13:53:13 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4    %LICENSE%
5 */
6
7 #include "router.hpp"
8
9 #include "factory_filter.hpp"
10
11 #include <stdexcept>
12
13 #include <boost/scoped_ptr.hpp>
14
15 namespace yp2 
16 {
17     class RouterFleXML : public yp2::Router 
18     {
19         class Rep;
20         class Route;
21         class Pos;
22     public:
23         RouterFleXML(std::string xmlconf, yp2::FactoryFilter &factory);
24         RouterFleXML(xmlDocPtr doc, yp2::FactoryFilter &factory);
25         
26         ~RouterFleXML();
27
28         virtual RoutePos *createpos() const;
29         class XMLError : public std::runtime_error {
30         public:
31             XMLError(const std::string msg) :
32                 std::runtime_error("XMLError : " + msg) {} ;
33         };
34     private:
35         boost::scoped_ptr<Rep> m_p;
36     };
37  
38 };
39
40
41 /*
42  * Local variables:
43  * c-basic-offset: 4
44  * indent-tabs-mode: nil
45  * c-file-style: "stroustrup"
46  * End:
47  * vim: shiftwidth=4 tabstop=8 expandtab
48  */