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
Rename yp2::FilterFactory to yp2::FactoryFilter
[metaproxy-moved-to-github.git]
/
src
/
filter_log.cpp
diff --git
a/src/filter_log.cpp
b/src/filter_log.cpp
index
2ed0b96
..
86ee793
100644
(file)
--- a/
src/filter_log.cpp
+++ b/
src/filter_log.cpp
@@
-1,4
+1,4
@@
-/* $Id: filter_log.cpp,v 1.9 2005-12-11 17:23:05 adam Exp $
+/* $Id: filter_log.cpp,v 1.11 2006-01-04 11:55:31 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-98,6
+98,20
@@
void yf::Log::process(Package &package) const
}
}
}
}
+static yp2::filter::Base* filter_creator()
+{
+ return new yp2::filter::Log;
+}
+
+extern "C" {
+ struct yp2_filter_struct yp2_filter_log = {
+ 0,
+ "log",
+ filter_creator
+ };
+}
+
+
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4