X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Frouter_flexml.hpp;h=8160de7d65eb9abed8d0294206105bd8770c0737;hb=0f94a4a954324a7cfc37bedf9e3d9556104b3807;hp=4dbbb2e549fe8a28e22b64c0f0fbb0efc077bf4c;hpb=e6d572ef110d14fa55115021505b808620457bd3;p=metaproxy-moved-to-github.git diff --git a/src/router_flexml.hpp b/src/router_flexml.hpp index 4dbbb2e..8160de7 100644 --- a/src/router_flexml.hpp +++ b/src/router_flexml.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2010 Index Data + Copyright (C) 2005-2011 Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -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; };