X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter.hpp;h=45846f86fa79c21e55fe2f6b86ef4f637f9f2a81;hb=ec40d94aeb48a31ebe0ac8c9b9457f28a2d54fcc;hp=73bf2ca1aa4a6152d8a53a0a8c8aaa4a19aef295;hpb=b84218609efb976d5b5270bd9e95a3c421af3a13;p=metaproxy-moved-to-github.git diff --git a/src/filter.hpp b/src/filter.hpp index 73bf2ca..45846f8 100644 --- a/src/filter.hpp +++ b/src/filter.hpp @@ -1,3 +1,8 @@ +/* $Id: filter.hpp,v 1.5 2005-10-16 16:05:44 adam Exp $ + Copyright (c) 2005, Index Data. + +%LICENSE% + */ #ifndef FILTER_HPP #define FILTER_HPP @@ -14,9 +19,9 @@ namespace yp2 { virtual ~Base(){}; ///sends Package off to next Filter, returns altered Package - virtual void process(Package & package) const { - }; - virtual void configure(){}; + virtual void process(Package & package) const = 0; + + virtual void configure(){}; /// get function - right val in assignment std::string name() const { @@ -54,6 +59,7 @@ namespace yp2 { * Local variables: * c-basic-offset: 4 * indent-tabs-mode: nil + * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */