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
Update for new PDF rules.
[metaproxy-moved-to-github.git]
/
src
/
filter_dl.cpp
diff --git
a/src/filter_dl.cpp
b/src/filter_dl.cpp
index
7ce559b
..
d21537c
100644
(file)
--- a/
src/filter_dl.cpp
+++ b/
src/filter_dl.cpp
@@
-1,37
+1,38
@@
-/* $Id: filter_dl.cpp,v 1.1 2005-12-10 09:59:10 adam Exp $
- Copyright (c) 2005, Index Data.
+/* $Id: filter_dl.cpp,v 1.8 2007-01-25 14:05:54 adam Exp $
+ Copyright (c) 2005-2007, Index Data.
-%LICENSE%
+ See the LICENSE file for details
*/
#include "config.hpp"
#include "filter.hpp"
*/
#include "config.hpp"
#include "filter.hpp"
-#include "router.hpp"
#include "package.hpp"
#include "package.hpp"
-namespace yp2 {
+namespace mp = metaproxy_1;
+
+namespace metaproxy_1 {
namespace filter {
namespace filter {
- class Filter_dl: public yp2::filter::Base {
+ class Filter_dl: public mp::filter::Base {
public:
public:
- void process(yp2::Package & package) const;
+ void process(mp::Package & package) const;
};
}
}
};
}
}
-void yp2::filter::Filter_dl::process(yp2::Package & package) const
+void mp::filter::Filter_dl::process(mp::Package & package) const
{
{
- package.data() = 42;
}
}
-static yp2::filter::Base* filter_creator()
+static mp::filter::Base* filter_creator()
{
{
- return new yp2::filter::Filter_dl;
+ return new mp::filter::Filter_dl;
}
extern "C" {
}
extern "C" {
- struct yp2_filter_struct yp2_filter_dl = {
+ struct metaproxy_1_filter_struct metaproxy_1_filter_dl = {
0,
0,
+ "dl",
filter_creator
};
}
filter_creator
};
}