X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Frouter_flexml.hpp;h=79b921b0c674544c3fc32e1da9cd112abfa424e7;hb=324f6dcf90e165c4f8e8b8bfda9ed12b7c5d5582;hp=e2bd856b144108c84ceb14a10cc62b93655fbb35;hpb=b0c61b7f8b17d876c88347a96c246c47493140da;p=metaproxy-moved-to-github.git diff --git a/src/router_flexml.hpp b/src/router_flexml.hpp index e2bd856..79b921b 100644 --- a/src/router_flexml.hpp +++ b/src/router_flexml.hpp @@ -19,7 +19,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifndef ROUTER_FLEXML_HPP #define ROUTER_FLEXML_HPP -#include "router.hpp" +#include #include "factory_filter.hpp" @@ -38,16 +38,11 @@ namespace metaproxy_1 RouterFleXML(std::string xmlconf, metaproxy_1::FactoryFilter &factory, bool test_only); RouterFleXML(xmlDocPtr doc, metaproxy_1::FactoryFilter &factory, - bool test_only); + bool test_only, const char *file_include_path); ~RouterFleXML(); virtual RoutePos *createpos() const; - class XMLError1 : public std::runtime_error { - public: - XMLError1(const std::string msg) : - std::runtime_error("XMLError : " + msg) {} ; - }; private: boost::scoped_ptr m_p; };