X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffactory_filter.hpp;h=0fe162b8a733e0e298a1e394354dd6e633c5b201;hb=6e5694249f3031e2d1d09ef4449e446403054d5e;hp=b0b88a4e4723fb6ea6bf0bc3746963b899f6eab8;hpb=79100c2ae2dac4bdde4f4d46b69e147562b4ec6c;p=metaproxy-moved-to-github.git diff --git a/src/factory_filter.hpp b/src/factory_filter.hpp index b0b88a4..0fe162b 100644 --- a/src/factory_filter.hpp +++ b/src/factory_filter.hpp @@ -1,8 +1,20 @@ -/* $Id: factory_filter.hpp,v 1.4 2006-03-16 10:40:59 adam Exp $ - Copyright (c) 2005-2006, Index Data. +/* This file is part of Metaproxy. + Copyright (C) 2005-2011 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 FACTORY_FILTER_HPP #define FACTORY_FILTER_HPP @@ -15,7 +27,7 @@ #include #include -#include "filter.hpp" +#include namespace metaproxy_1 { class FactoryFilter : public boost::noncopyable @@ -29,7 +41,7 @@ namespace metaproxy_1 { FactoryFilter(); ~FactoryFilter(); - bool add_creator(std::string fi, CreateFilterCallback cfc); + bool add_creator(const std::string &fi, CreateFilterCallback cfc); bool drop_creator(std::string fi); @@ -53,8 +65,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 */ +