X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=src%2Frouter_flexml.hpp;h=2a385d7e4eb63aa9fe177811d1a90b4226f66c97;hb=aff78cecdb2c7292899ae15ee8a5fd41accef2b5;hp=4dbbb2e549fe8a28e22b64c0f0fbb0efc077bf4c;hpb=e6d572ef110d14fa55115021505b808620457bd3;p=metaproxy-moved-to-github.git diff --git a/src/router_flexml.hpp b/src/router_flexml.hpp index 4dbbb2e..2a385d7 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-2012 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,13 @@ 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(); + void stop(); private: boost::scoped_ptr m_p; };