X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_log.hpp;h=2ae395a0426e5efeef5fa9a0cc45bc3bc9c64409;hb=cc631cd71d418decb1ebde093a9a89d5e007f585;hp=84d14910d3a1307458e93a3db71ee9af44ca2e17;hpb=a27375762602ee41a01282b59aae617c0764b38b;p=metaproxy-moved-to-github.git diff --git a/src/filter_log.hpp b/src/filter_log.hpp index 84d1491..2ae395a 100644 --- a/src/filter_log.hpp +++ b/src/filter_log.hpp @@ -1,18 +1,32 @@ +/* $Id: filter_log.hpp,v 1.12 2006-01-04 11:55:31 adam Exp $ + Copyright (c) 2005, Index Data. + +%LICENSE% + */ #ifndef FILTER_LOG_HPP #define FILTER_LOG_HPP -#include -#include +#include #include "filter.hpp" namespace yp2 { - class FilterLog : public yp2::Filter { - public: - FilterLog::FilterLog(); - void process(yp2::Package & package) const; - }; + namespace filter { + class Log : public Base { + class Rep; + boost::scoped_ptr m_p; + public: + Log(); + Log(const std::string &x); + ~Log(); + void process(yp2::Package & package) const; + }; + } +} + +extern "C" { + extern struct yp2_filter_struct yp2_filter_log; } #endif @@ -20,6 +34,7 @@ namespace yp2 { * Local variables: * c-basic-offset: 4 * indent-tabs-mode: nil + * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */