X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Frouter.hpp;h=db2bed80680859eef051e14721d489a68a29f282;hb=e9530d6289df9b848e4901d7c73f5a2f27706d66;hp=72ee73e01d80bbdbc77a84b15b6d4d3e73e4ca4e;hpb=b87d59a4add20f61400cfb77a9256dd26c243fb7;p=metaproxy-moved-to-github.git diff --git a/src/router.hpp b/src/router.hpp index 72ee73e..db2bed8 100644 --- a/src/router.hpp +++ b/src/router.hpp @@ -1,8 +1,20 @@ -/* $Id: router.hpp,v 1.9 2006-01-09 13:53:13 adam Exp $ - Copyright (c) 2005, Index Data. +/* This file is part of Metaproxy. + Copyright (C) 2005-2008 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_HPP #define ROUTER_HPP @@ -11,7 +23,7 @@ #include #include -namespace yp2 +namespace metaproxy_1 { namespace filter { class Base; @@ -34,7 +46,7 @@ namespace yp2 class RoutePos : boost::noncopyable { public: - virtual const filter::Base *move() = 0; + virtual const filter::Base *move(const char *route) = 0; virtual RoutePos *clone() = 0; virtual ~RoutePos() {}; };