All filters declare a yp2_filter_struct - used for both static and
[metaproxy-moved-to-github.git] / src / filter_session_shared.hpp
1 /* $Id: filter_session_shared.hpp,v 1.2 2006-01-04 11:19:04 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 #ifndef FILTER_SESSION_SHARED_HPP
8 #define FILTER_SESSION_SHARED_HPP
9
10 #include <boost/scoped_ptr.hpp>
11
12 #include "filter.hpp"
13
14 namespace yp2 {
15     namespace filter {
16         class SessionShared : public Base {
17             class Rep;
18             class InitKey;
19             class List;
20         public:
21             ~SessionShared();
22             SessionShared();
23             void process(yp2::Package & package) const;
24         private:
25             boost::scoped_ptr<Rep> m_p;
26         };
27     }
28 }
29
30 extern "C" {
31     extern const struct yp2_filter_struct yp2_filter_session_shared;
32 }
33
34 #endif
35 /*
36  * Local variables:
37  * c-basic-offset: 4
38  * indent-tabs-mode: nil
39  * c-file-style: "stroustrup"
40  * End:
41  * vim: shiftwidth=4 tabstop=8 expandtab
42  */