X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_record_transform.hpp;h=8b34c81c45a7dd9858620a56e09a1cd454c4b2c7;hb=b1d299c751b81d4c9bc113a0300daf0667063710;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..8b34c81 100644 --- a/src/filter_record_transform.hpp +++ b/src/filter_record_transform.hpp @@ -1,16 +1,27 @@ -/* $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-2013 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 #define FILTER_RECORD_TRANSFORM_HPP #include -#include "filter.hpp" +#include namespace metaproxy_1 { namespace filter { @@ -21,7 +32,8 @@ 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, + const char *path); }; } } @@ -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 */