X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_sru_to_z3950.hpp;h=534c0ce24884ad0af76b0dead819186b1ca01dff;hb=abe840d8d4a289b0cf6221a3e1bc11e640e6c708;hp=334601b0442e59f3689959262ef868d42ef3a508;hpb=3825178e4cb10dda3de93336cad102f1459e48c6;p=metaproxy-moved-to-github.git diff --git a/src/filter_sru_to_z3950.hpp b/src/filter_sru_to_z3950.hpp index 334601b..534c0ce 100644 --- a/src/filter_sru_to_z3950.hpp +++ b/src/filter_sru_to_z3950.hpp @@ -1,40 +1,57 @@ -/* $Id: filter_sru_to_z3950.hpp,v 1.1 2006-09-13 10:43:24 marc Exp $ - Copyright (c) 2005-2006, Index Data. +/* This file is part of Metaproxy. + Copyright (C) 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 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 Rep; - boost::scoped_ptr m_p; + 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, + const char *path); void process(metaproxy_1::Package & package) const; }; } } extern "C" { - extern struct metaproxy_1_filter_struct metaproxy_1_filter_sru_to_z3950; + extern struct metaproxy_1_filter_struct metaproxy_1_filter_sru_z3950; } #endif /* * 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 */ +