X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffactory_static.cpp;h=0c0197063d0cdb08e9fbd891664a6ad3743c4de7;hb=edbbe698eb869fe31527ad85981b34ac0cfc4d2a;hp=ff7098393232a9c56ebd8cb15414d909d5b1d2e3;hpb=63ea8aedbfd7dc56ab28dbc82c38b4458dcecb68;p=metaproxy-moved-to-github.git diff --git a/src/factory_static.cpp b/src/factory_static.cpp index ff70983..0c01970 100644 --- a/src/factory_static.cpp +++ b/src/factory_static.cpp @@ -1,4 +1,4 @@ -/* $Id: factory_static.cpp,v 1.1 2006-01-04 11:19:04 adam Exp $ +/* $Id: factory_static.cpp,v 1.4 2006-01-04 14:30:51 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -14,7 +14,7 @@ #include "filter.hpp" #include "package.hpp" -#include "filter_factory.hpp" +#include "factory_filter.hpp" #include "filter_backend_test.hpp" #include "filter_frontend_net.hpp" @@ -24,9 +24,9 @@ #include "filter_virt_db.hpp" #include "filter_z3950_client.hpp" -yp2::FactoryStatic::FactoryStatic(yp2::FilterFactory &factory) +yp2::FactoryStatic::FactoryStatic() { - const struct yp2_filter_struct *buildins[] = { + struct yp2_filter_struct *buildins[] = { &yp2_filter_backend_test, &yp2_filter_frontend_net, &yp2_filter_log, @@ -39,7 +39,7 @@ yp2::FactoryStatic::FactoryStatic(yp2::FilterFactory &factory) int i; for (i = 0; buildins[i]; i++) - factory.add_creator(buildins[i]->type, buildins[i]->creator); + add_creator(buildins[i]->type, buildins[i]->creator); }