projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly lock Z39.50 sessions
[metaproxy-moved-to-github.git]
/
src
/
filter_virt_db.hpp
diff --git
a/src/filter_virt_db.hpp
b/src/filter_virt_db.hpp
index
cd06081
..
e33b74e
100644
(file)
--- a/
src/filter_virt_db.hpp
+++ b/
src/filter_virt_db.hpp
@@
-1,4
+1,4
@@
-/* $Id: filter_virt_db.hpp,v 1.1 2005-10-24 14:33:30 adam Exp $
+/* $Id: filter_virt_db.hpp,v 1.3 2005-10-29 22:23:36 marc Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-9,6
+9,7
@@
#include <stdexcept>
#include <list>
#include <stdexcept>
#include <list>
+#include <boost/scoped_ptr.hpp>
#include "filter.hpp"
#include "filter.hpp"
@@
-20,9
+21,12
@@
namespace yp2 {
~Virt_db();
Virt_db();
void process(yp2::Package & package) const;
~Virt_db();
Virt_db();
void process(yp2::Package & package) const;
+ const std::string type() const {
+ return "Virt_db";
+ };
void add_map_db2vhost(std::string db, std::string vhost);
private:
void add_map_db2vhost(std::string db, std::string vhost);
private:
- Rep *m_p;
+ boost::scoped_ptr<Rep> m_p;
};
}
}
};
}
}