X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Frouter_flexml.hpp;h=9b5d890361a0fdf5550361d08897b62778f84815;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=0fccd8af633c89ec5c1e573da5d2cc9c673ae021;hpb=1062df724f86b66ec8c84f56e11464da5091c4af;p=metaproxy-moved-to-github.git diff --git a/src/router_flexml.hpp b/src/router_flexml.hpp index 0fccd8a..9b5d890 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) 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 @@ -27,9 +27,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include -namespace metaproxy_1 +namespace metaproxy_1 { - class RouterFleXML : public metaproxy_1::Router + class RouterFleXML : public metaproxy_1::Router { class Rep; class Route; @@ -38,15 +38,17 @@ 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; + void start(); + void stop(int signo); private: boost::scoped_ptr m_p; }; - + }; #endif