Added filter multi. init+search operational
[metaproxy-moved-to-github.git] / src / factory_static.cpp
1 /* $Id: factory_static.cpp,v 1.6 2006-01-15 20:03:14 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5
6 */
7
8 #include <iostream>
9 #include <stdexcept>
10
11 #include "factory_static.hpp"
12
13 #include "config.hpp"
14 #include "filter.hpp"
15 #include "package.hpp"
16
17 #include "factory_filter.hpp"
18
19 #include "filter_auth_simple.hpp"
20 #include "filter_backend_test.hpp"
21 #include "filter_frontend_net.hpp"
22 #include "filter_log.hpp"
23 #include "filter_multi.hpp"
24 #include "filter_session_shared.hpp"
25 #include "filter_template.hpp"
26 #include "filter_virt_db.hpp"
27 #include "filter_z3950_client.hpp"
28
29 yp2::FactoryStatic::FactoryStatic()
30 {
31     struct yp2_filter_struct *buildins[] = {
32         &yp2_filter_auth_simple,
33         &yp2_filter_backend_test,
34         &yp2_filter_frontend_net,        
35         &yp2_filter_log,
36         &yp2_filter_multi,
37         &yp2_filter_session_shared,
38         &yp2_filter_template,
39         &yp2_filter_virt_db,
40         &yp2_filter_z3950_client,
41         0
42     };
43     int i;
44
45     for (i = 0; buildins[i]; i++)
46         add_creator(buildins[i]->type, buildins[i]->creator);
47 }
48
49
50 /*
51  * Local variables:
52  * c-basic-offset: 4
53  * indent-tabs-mode: nil
54  * c-file-style: "stroustrup"
55  * End:
56  * vim: shiftwidth=4 tabstop=8 expandtab
57  */