1 /* $Id: filter_template.cpp,v 1.5 2006-01-09 14:47:09 adam Exp $
2 Copyright (c) 2005, Index Data.
11 #include "package.hpp"
13 #include <boost/thread/mutex.hpp>
16 #include "filter_template.hpp"
20 namespace yf = yp2::filter;
25 friend class Template;
31 yf::Template::Template() : m_p(new Rep)
36 yf::Template::~Template()
37 { // must have a destructor because of boost::scoped_ptr
40 void yf::Template::process(yp2::Package &package) const
42 // Z_GDU *gdu = package.request().get();
46 static yp2::filter::Base* filter_creator()
48 return new yp2::filter::Template;
52 struct yp2_filter_struct yp2_filter_template = {
63 * indent-tabs-mode: nil
64 * c-file-style: "stroustrup"
66 * vim: shiftwidth=4 tabstop=8 expandtab