1 /* $Id: factory_static.cpp,v 1.2 2006-01-04 11:55:31 adam Exp $
2 Copyright (c) 2005, Index Data.
11 #include "factory_static.hpp"
15 #include "package.hpp"
17 #include "filter_factory.hpp"
19 #include "filter_backend_test.hpp"
20 #include "filter_frontend_net.hpp"
21 #include "filter_log.hpp"
22 #include "filter_session_shared.hpp"
23 #include "filter_template.hpp"
24 #include "filter_virt_db.hpp"
25 #include "filter_z3950_client.hpp"
27 yp2::FactoryStatic::FactoryStatic(yp2::FilterFactory &factory)
29 struct yp2_filter_struct *buildins[] = {
30 &yp2_filter_backend_test,
31 &yp2_filter_frontend_net,
33 &yp2_filter_session_shared,
36 &yp2_filter_z3950_client,
41 for (i = 0; buildins[i]; i++)
42 factory.add_creator(buildins[i]->type, buildins[i]->creator);
49 * indent-tabs-mode: nil
50 * c-file-style: "stroustrup"
52 * vim: shiftwidth=4 tabstop=8 expandtab