X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_template.hpp;h=b845b6e70f540265be631574acb8634022298bc6;hb=f0fb2a160e8c8cbb1147d476ae206ebcedbf8ecf;hp=0b437cb83b92ae9550a5c8cda1cd075c2c8a5a24;hpb=ad428707d2a52bbe4db21e47c5ebb26e13598484;p=metaproxy-moved-to-github.git diff --git a/src/filter_template.hpp b/src/filter_template.hpp index 0b437cb..b845b6e 100644 --- a/src/filter_template.hpp +++ b/src/filter_template.hpp @@ -1,7 +1,7 @@ -/* $Id: filter_template.hpp,v 1.4 2006-01-04 11:55:31 adam Exp $ - Copyright (c) 2005, Index Data. +/* $Id: filter_template.hpp,v 1.8 2007-01-25 14:05:54 adam Exp $ + Copyright (c) 2005-2007, Index Data. -%LICENSE% + See the LICENSE file for details */ // Filter that does nothing. Use as template for new filters @@ -12,21 +12,22 @@ #include "filter.hpp" -namespace yp2 { +namespace metaproxy_1 { namespace filter { class Template : public Base { - class Rep; - boost::scoped_ptr m_p; + class Impl; + boost::scoped_ptr m_p; public: Template(); ~Template(); - void process(yp2::Package & package) const; + void process(metaproxy_1::Package & package) const; + void configure(const xmlNode * ptr); }; } } extern "C" { - extern struct yp2_filter_struct yp2_filter_template; + extern struct metaproxy_1_filter_struct metaproxy_1_filter_template; } #endif