1 /* $Id: filter_template.cpp,v 1.7 2006-03-16 10:40:59 adam Exp $
2 Copyright (c) 2005-2006, Index Data.
10 #include "package.hpp"
12 #include <boost/thread/mutex.hpp>
15 #include "filter_template.hpp"
19 namespace mp = metaproxy_1;
20 namespace yf = mp::filter;
22 namespace metaproxy_1 {
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(mp::Package &package) const
42 // Z_GDU *gdu = package.request().get();
46 static mp::filter::Base* filter_creator()
48 return new mp::filter::Template;
52 struct metaproxy_1_filter_struct metaproxy_1_filter_template = {
63 * indent-tabs-mode: nil
64 * c-file-style: "stroustrup"
66 * vim: shiftwidth=4 tabstop=8 expandtab