projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use virt_db filter in ex_filter_frontend_net program
[metaproxy-moved-to-github.git]
/
src
/
filter.hpp
diff --git
a/src/filter.hpp
b/src/filter.hpp
index
faaefc6
..
8f053b5
100644
(file)
--- a/
src/filter.hpp
+++ b/
src/filter.hpp
@@
-1,4
+1,4
@@
-/* $Id: filter.hpp,v 1.4 2005-10-15 14:09:09 adam Exp $
+/* $Id: filter.hpp,v 1.6 2005-10-24 09:53:06 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-8,6
+8,7
@@
#define FILTER_HPP
#include <stdexcept>
#define FILTER_HPP
#include <stdexcept>
+#include <libxml/tree.h>
namespace yp2 {
namespace yp2 {
@@
-19,9
+20,9
@@
namespace yp2 {
virtual ~Base(){};
///sends Package off to next Filter, returns altered Package
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(const xmlNode * ptr = 0) { } ;
/// get function - right val in assignment
std::string name() const {
/// get function - right val in assignment
std::string name() const {