X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffilter_record_transform.hpp;h=c28cb4eeae5e9e0b863d7437ddd9ccd0c810743e;hb=e6d572ef110d14fa55115021505b808620457bd3;hp=2cf8dbe32ffa8d0331fb9e043d1df57da5c967c7;hpb=e637fc7750457b84b070b71e009c733887b0dd73;p=metaproxy-moved-to-github.git diff --git a/src/filter_record_transform.hpp b/src/filter_record_transform.hpp index 2cf8dbe..c28cb4e 100644 --- a/src/filter_record_transform.hpp +++ b/src/filter_record_transform.hpp @@ -1,8 +1,20 @@ -/* $Id: filter_record_transform.hpp,v 1.1 2006-10-03 14:04:22 marc Exp $ - Copyright (c) 2005-2006, Index Data. +/* This file is part of Metaproxy. + Copyright (C) 2005-2010 Index Data - See the LICENSE file for details - */ +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 +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +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 @@ -10,7 +22,7 @@ #include -#include "filter.hpp" +#include namespace metaproxy_1 { namespace filter { @@ -21,7 +33,7 @@ namespace metaproxy_1 { RecordTransform(); ~RecordTransform(); void process(metaproxy_1::Package & package) const; - void configure(const xmlNode * ptr); + void configure(const xmlNode * ptr, bool test_only); }; } } @@ -34,8 +46,8 @@ extern "C" { /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */