X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffilter_frontend_net.hpp;h=98d2c6fecad95cb03677c12c8c1e5051fec4dc7a;hb=f82b19f2b93707657fee804bd1242f2548d51ada;hp=b1c6bd40a92099734a2fe2d78abc4ddd88ecd71a;hpb=941d13b6a4dc2c2dd0e4bda89d380bfd8991b03b;p=metaproxy-moved-to-github.git diff --git a/src/filter_frontend_net.hpp b/src/filter_frontend_net.hpp index b1c6bd4..98d2c6f 100644 --- a/src/filter_frontend_net.hpp +++ b/src/filter_frontend_net.hpp @@ -1,3 +1,8 @@ +/* $Id: filter_frontend_net.hpp,v 1.5 2005-10-15 14:09:09 adam Exp $ + Copyright (c) 2005, Index Data. + +%LICENSE% + */ #ifndef FILTER_FRONTEND_NET_HPP #define FILTER_FRONEND_NET_HPP @@ -8,19 +13,21 @@ #include "filter.hpp" namespace yp2 { - class FilterFrontendNet : public yp2::Filter { - public: - FilterFrontendNet::FilterFrontendNet(); - void process(yp2::Package & package) const; - private: - int m_no_threads; - std::vector m_ports; - int m_listen_duration; - public: - /// set function - left val in assignment - std::vector &ports(); - int &listen_duration(); - }; + namespace filter { + class FrontendNet : public Base { + public: + FrontendNet::FrontendNet(); + void process(yp2::Package & package) const; + private: + int m_no_threads; + std::vector m_ports; + int m_listen_duration; + public: + /// set function - left val in assignment + std::vector &ports(); + int &listen_duration(); + }; + } } @@ -29,6 +36,7 @@ namespace yp2 { * Local variables: * c-basic-offset: 4 * indent-tabs-mode: nil + * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */