RouterFleXML now stores routes and filters internally.
[metaproxy-moved-to-github.git] / src / router_flexml.hpp
index 9cce474..be7b66d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: router_flexml.hpp,v 1.8 2006-01-04 14:15:45 adam Exp $
+/* $Id: router_flexml.hpp,v 1.10 2006-01-05 16:39:37 adam Exp $
    Copyright (c) 2005, Index Data.
 
    %LICENSE%
@@ -6,7 +6,7 @@
 
 #include "router.hpp"
 
-#include "filter_factory.hpp"
+#include "factory_filter.hpp"
 
 #include <stdexcept>
 
@@ -17,8 +17,9 @@ namespace yp2
     class RouterFleXML : public yp2::Router 
     {
         class Rep;
+        class Route;
     public:
-        RouterFleXML(std::string xmlconf, yp2::FilterFactory &factory);
+        RouterFleXML(std::string xmlconf, yp2::FactoryFilter &factory);
         
         ~RouterFleXML();