X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_template.cpp;h=07c0d2afcb155c4b5c46cf313f501fbc6ee69dd7;hb=63ea8aedbfd7dc56ab28dbc82c38b4458dcecb68;hp=4d47dabd2ebc96b255b0817cd2b165da655bbade;hpb=a7bb1a7f8f0c91fa5bc74f712b3e00cb962a0263;p=metaproxy-moved-to-github.git diff --git a/src/filter_template.cpp b/src/filter_template.cpp index 4d47dab..07c0d2a 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.3 2006-01-04 11:19:04 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" { + const struct yp2_filter_struct yp2_filter_template = { + 0, + "template", + filter_creator + }; +} + /* * Local variables: