Began work on virtual database filter
[metaproxy-moved-to-github.git] / src / filter_virt_db.hpp
1 /* $Id: filter_virt_db.hpp,v 1.1 2005-10-24 14:33:30 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 #ifndef FILTER_VIRT_DB_HPP
8 #define FILTER_VIRT_DB_HPP
9
10 #include <stdexcept>
11 #include <list>
12
13 #include "filter.hpp"
14
15 namespace yp2 {
16     namespace filter {
17         class Virt_db : public Base {
18             class Rep;
19         public:
20             ~Virt_db();
21             Virt_db();
22             void process(yp2::Package & package) const;
23             void add_map_db2vhost(std::string db, std::string vhost);
24         private:
25             Rep *m_p;
26         };
27     }
28 }
29
30 #endif
31 /*
32  * Local variables:
33  * c-basic-offset: 4
34  * indent-tabs-mode: nil
35  * c-file-style: "stroustrup"
36  * End:
37  * vim: shiftwidth=4 tabstop=8 expandtab
38  */