Fix Metaproxy stops logging after check config failed MP-590
[metaproxy-moved-to-github.git] / src / filter_record_transform.hpp
index 72667e3..390f12a 100644 (file)
@@ -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
@@ -16,13 +16,12 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
-// Filter that does nothing. Use as RecordTransform for new filters 
 #ifndef FILTER_RECORD_TRANSFORM_HPP
 #define FILTER_RECORD_TRANSFORM_HPP
 
 #include <boost/scoped_ptr.hpp>
 
-#include "filter.hpp"
+#include <metaproxy/filter.hpp>
 
 namespace metaproxy_1 {
     namespace filter {
@@ -33,7 +32,8 @@ namespace metaproxy_1 {
             RecordTransform();
             ~RecordTransform();
             void process(metaproxy_1::Package & package) const;
-            void configure(const xmlNode * ptr, bool test_only);
+            void configure(const xmlNode * ptr, bool test_only,
+                           const char *path);
         };
     }
 }