X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Frouter_chain.hpp;h=052ce0a9a7248518d5167ab7697f4ac17b1fbd72;hb=50597d2f7d3607e91c94601eb8eb495d73be3eae;hp=21a423c1c69c26bc32c28df7c0b56ba7470fd571;hpb=79100c2ae2dac4bdde4f4d46b69e147562b4ec6c;p=metaproxy-moved-to-github.git diff --git a/src/router_chain.hpp b/src/router_chain.hpp index 21a423c..052ce0a 100644 --- a/src/router_chain.hpp +++ b/src/router_chain.hpp @@ -1,14 +1,26 @@ -/* $Id: router_chain.hpp,v 1.6 2006-03-16 10:40:59 adam Exp $ - Copyright (c) 2005-2006, Index Data. +/* This file is part of Metaproxy. + Copyright (C) 2005-2012 Index Data -%LICENSE% - */ +Metaproxy is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef ROUTER_CHAIN_HPP #define ROUTER_CHAIN_HPP -#include "router.hpp" +#include #include #include @@ -22,6 +34,7 @@ namespace metaproxy_1 { virtual ~RouterChain(); virtual RoutePos *createpos() const; RouterChain & append(const filter::Base &filter); + void start(); private: boost::scoped_ptr m_p; /// disabled because class is singleton @@ -36,8 +49,9 @@ namespace metaproxy_1 { /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +