Add path to configure method of filter.
[metaproxy-moved-to-github.git] / src / test_filter_factory.cpp
index e4f62d8..7735d50 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Metaproxy.
-   Copyright (C) 2005-2010 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
@@ -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