X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_template.hpp;h=145e0aee0a57852b5cc345297a7264c0fb946614;hb=a8b25eb1e4dee0290182ca69fe49a01557c58811;hp=0a87817ff84ab21c14507f26129b7c2576712e7d;hpb=5beddc7e2432ca7eda40eacf025e9bbbbc026a86;p=metaproxy-moved-to-github.git diff --git a/src/filter_template.hpp b/src/filter_template.hpp index 0a87817..145e0ae 100644 --- a/src/filter_template.hpp +++ b/src/filter_template.hpp @@ -1,16 +1,28 @@ -/* $Id: filter_template.hpp,v 1.7 2006-09-29 09:48:36 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. -// Filter that does nothing. Use as template for new filters +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 template for new filters #ifndef FILTER_TEMPLATE_HPP #define FILTER_TEMPLATE_HPP #include -#include "filter.hpp" +#include namespace metaproxy_1 { namespace filter { @@ -21,7 +33,8 @@ namespace metaproxy_1 { Template(); ~Template(); 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 +47,9 @@ 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 */ +