1 /* $Id: filter_template.cpp,v 1.6 2006-01-09 21:20:15 adam Exp $
2 Copyright (c) 2005, Index Data.
10 #include "package.hpp"
12 #include <boost/thread/mutex.hpp>
15 #include "filter_template.hpp"
19 namespace yf = yp2::filter;
24 friend class Template;
30 yf::Template::Template() : m_p(new Rep)
35 yf::Template::~Template()
36 { // must have a destructor because of boost::scoped_ptr
39 void yf::Template::process(yp2::Package &package) const
41 // Z_GDU *gdu = package.request().get();
45 static yp2::filter::Base* filter_creator()
47 return new yp2::filter::Template;
51 struct yp2_filter_struct yp2_filter_template = {
62 * indent-tabs-mode: nil
63 * c-file-style: "stroustrup"
65 * vim: shiftwidth=4 tabstop=8 expandtab