X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Frouter_flexml.hpp;h=aa6812579fb9eb4ebb29c6a372624f47f4df8807;hb=cc631cd71d418decb1ebde093a9a89d5e007f585;hp=be7b66d74773133aa5091fc030c07128e8ae0948;hpb=0e4bd2f722c9cf0a83e7e4ef3d936c60c9419add;p=metaproxy-moved-to-github.git diff --git a/src/router_flexml.hpp b/src/router_flexml.hpp index be7b66d..aa68125 100644 --- a/src/router_flexml.hpp +++ b/src/router_flexml.hpp @@ -1,4 +1,4 @@ -/* $Id: router_flexml.hpp,v 1.10 2006-01-05 16:39:37 adam Exp $ +/* $Id: router_flexml.hpp,v 1.12 2006-01-09 13:53:13 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -18,13 +18,14 @@ namespace yp2 { class Rep; class Route; + class Pos; public: RouterFleXML(std::string xmlconf, yp2::FactoryFilter &factory); + RouterFleXML(xmlDocPtr doc, yp2::FactoryFilter &factory); ~RouterFleXML(); - - virtual const filter::Base *move(const filter::Base *filter, - const Package *package) const; + + virtual RoutePos *createpos() const; class XMLError : public std::runtime_error { public: XMLError(const std::string msg) :