Add path to configure method of filter.
[metaproxy-moved-to-github.git] / src / test_filter_factory.cpp
index 19d48bb..7735d50 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Metaproxy.
-   Copyright (C) 2005-2008 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
@@ -20,8 +20,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <stdexcept>
 
 #include "config.hpp"
-#include "filter.hpp"
-#include "package.hpp"
+#include <metaproxy/filter.hpp>
+#include <metaproxy/package.hpp>
 #include "factory_filter.hpp"
 
 
@@ -36,6 +36,7 @@ namespace mp = metaproxy_1;
 class XFilter: public mp::filter::Base {
 public:
     void process(mp::Package & package) const;
+    void configure(const xmlNode* ptr, bool test_only, const char *path) {};
 };
 
 void XFilter::process(mp::Package & package) const
@@ -51,6 +52,7 @@ static mp::filter::Base* xfilter_creator(){
 class YFilter: public mp::filter::Base {
 public:
     void process(mp::Package & package) const;
+    void configure(const xmlNode* ptr, bool test_only, const char *path) {};
 };
 
 void YFilter::process(mp::Package & package) const