X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_z3950_client.hpp;h=8c9434939470bdd0dc990bb649e7e23ae3d8c6a9;hb=79100c2ae2dac4bdde4f4d46b69e147562b4ec6c;hp=b55dd379a6c0009a05000b8d5d9d1df03ebe3865;hpb=7467b072bb64f5c8575daa9917cce7df62d832f1;p=metaproxy-moved-to-github.git diff --git a/src/filter_z3950_client.hpp b/src/filter_z3950_client.hpp index b55dd37..8c94349 100644 --- a/src/filter_z3950_client.hpp +++ b/src/filter_z3950_client.hpp @@ -1,5 +1,5 @@ -/* $Id: filter_z3950_client.hpp,v 1.3 2005-10-29 22:23:36 marc Exp $ - Copyright (c) 2005, Index Data. +/* $Id: filter_z3950_client.hpp,v 1.9 2006-03-16 10:40:59 adam Exp $ + Copyright (c) 2005-2006, Index Data. %LICENSE% */ @@ -7,13 +7,11 @@ #ifndef FILTER_Z3950_CLIENT_HPP #define FILTER_Z3950_CLIENT_HPP -#include -#include #include #include "filter.hpp" -namespace yp2 { +namespace metaproxy_1 { namespace filter { class Z3950Client : public Base { class Rep; @@ -21,16 +19,18 @@ namespace yp2 { public: ~Z3950Client(); Z3950Client(); - void process(yp2::Package & package) const; - const std::string type() const { - return "Z3950Client"; - }; + void process(metaproxy_1::Package & package) const; + void configure(const xmlNode * ptr); private: boost::scoped_ptr m_p; }; } } +extern "C" { + extern struct metaproxy_1_filter_struct metaproxy_1_filter_z3950_client; +} + #endif /* * Local variables: