X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Frouter_flexml.hpp;h=2f208bd9826ed862e73033ddfe01da831e1ebce0;hb=ff4921cc3b96c81d2704417b311f217bf3663a4d;hp=4dbbb2e549fe8a28e22b64c0f0fbb0efc077bf4c;hpb=e6d572ef110d14fa55115021505b808620457bd3;p=metaproxy-moved-to-github.git diff --git a/src/router_flexml.hpp b/src/router_flexml.hpp index 4dbbb2e..2f208bd 100644 --- a/src/router_flexml.hpp +++ b/src/router_flexml.hpp @@ -38,16 +38,12 @@ 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) {} ; - }; + void start(); private: boost::scoped_ptr m_p; };