X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffilter_sru_to_z3950.hpp;h=7d299f956645165707081b4c28507080cf46d3d0;hb=8ced8e7b5de3ecba12ac68ce5c5e8cddf40d800f;hp=d982ddcb3f5c66be682fb949b457eebdcfc6299e;hpb=85189f2d04df4cfc8b16ee78187fb89d00dfe3ff;p=metaproxy-moved-to-github.git diff --git a/src/filter_sru_to_z3950.hpp b/src/filter_sru_to_z3950.hpp index d982ddc..7d299f9 100644 --- a/src/filter_sru_to_z3950.hpp +++ b/src/filter_sru_to_z3950.hpp @@ -1,7 +1,5 @@ -/* $Id: filter_sru_to_z3950.hpp,v 1.6 2008-02-20 15:07:52 adam Exp $ - Copyright (c) 2005-2007, Index Data. - -This file is part of Metaproxy. +/* This file is part of Metaproxy. + Copyright (C) 2005-2013 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 @@ -14,28 +12,30 @@ 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 Metaproxy; see the file LICENSE. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. - */ +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 sru_to_z3950 for new filters #ifndef FILTER_SRU_TO_Z3950_HPP #define FILTER_SRU_TO_Z3950_HPP #include +#include -#include "filter.hpp" +#include namespace metaproxy_1 { namespace filter { class SRUtoZ3950 : public Base { + class Frontend; class Impl; boost::scoped_ptr m_p; + typedef boost::shared_ptr FrontendPtr; public: SRUtoZ3950(); ~SRUtoZ3950(); - void configure(const xmlNode *xmlnode, bool test_only); + void configure(const xmlNode *xmlnode, bool test_only, + const char *path); void process(metaproxy_1::Package & package) const; }; } @@ -49,8 +49,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 */ +