Rename from yp2 to metaproxy. The namespace for all definitions
[metaproxy-moved-to-github.git] / src / filter_z3950_client.hpp
index b55dd37..8c94349 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: filter_z3950_client.hpp,v 1.3 2005-10-29 22:23:36 marc Exp $
-   Copyright (c) 2005, Index Data.
+/* $Id: filter_z3950_client.hpp,v 1.9 2006-03-16 10:40:59 adam Exp $
+   Copyright (c) 2005-2006, Index Data.
 
 %LICENSE%
  */
@@ -7,13 +7,11 @@
 #ifndef FILTER_Z3950_CLIENT_HPP
 #define FILTER_Z3950_CLIENT_HPP
 
-#include <stdexcept>
-#include <list>
 #include <boost/scoped_ptr.hpp>
 
 #include "filter.hpp"
 
-namespace yp2 {
+namespace metaproxy_1 {
     namespace filter {
         class Z3950Client : public Base {
             class Rep;
@@ -21,16 +19,18 @@ namespace yp2 {
         public:
             ~Z3950Client();
             Z3950Client();
-            void process(yp2::Package & package) const;
-            const std::string type() const {
-                return "Z3950Client";
-            };
+            void process(metaproxy_1::Package & package) const;
+            void configure(const xmlNode * ptr);
         private:
             boost::scoped_ptr<Rep> m_p;
         };
     }
 }
 
+extern "C" {
+    extern struct metaproxy_1_filter_struct metaproxy_1_filter_z3950_client;
+}
+
 #endif
 /*
  * Local variables: