X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffilter_template.cpp;h=2aced06e4d0216480963d7df05635e1b6772f267;hb=48f4e384860829966eacf4881fbf1ccbed38be6a;hp=4d47dabd2ebc96b255b0817cd2b165da655bbade;hpb=0d7d33a12b14cb26fdb922f42bb84dff33354ce7;p=metaproxy-moved-to-github.git diff --git a/src/filter_template.cpp b/src/filter_template.cpp index 4d47dab..2aced06 100644 --- a/src/filter_template.cpp +++ b/src/filter_template.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_template.cpp,v 1.2 2005-12-11 17:20:18 adam Exp $ +/* $Id: filter_template.cpp,v 1.4 2006-01-04 11:55:31 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -43,6 +43,19 @@ void yf::Template::process(Package &package) const package.move(); } +static yp2::filter::Base* filter_creator() +{ + return new yp2::filter::Template; +} + +extern "C" { + struct yp2_filter_struct yp2_filter_template = { + 0, + "template", + filter_creator + }; +} + /* * Local variables: