Rename from yp2 to metaproxy. The namespace for all definitions
[metaproxy-moved-to-github.git] / src / filter_log.hpp
index e7cdf4b..ad47803 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: filter_log.hpp,v 1.3 2005-10-15 14:09:09 adam Exp $
-   Copyright (c) 2005, Index Data.
+/* $Id: filter_log.hpp,v 1.14 2006-03-16 10:40:59 adam Exp $
+   Copyright (c) 2005-2006, Index Data.
 
 %LICENSE%
  */
@@ -7,21 +7,29 @@
 #ifndef FILTER_LOG_HPP
 #define FILTER_LOG_HPP
 
-#include <stdexcept>
-#include <vector>
+#include <boost/scoped_ptr.hpp>
 
 #include "filter.hpp"
 
-namespace yp2 {
+namespace metaproxy_1 {
     namespace filter {
         class Log : public Base {
+            class Rep;
+            boost::scoped_ptr<Rep> m_p;
         public:
-            Log::Log();
-            void process(yp2::Package & package) const;
+            Log();
+            Log(const std::string &x);
+            ~Log();
+            void process(metaproxy_1::Package & package) const;
+            void configure(const xmlNode * ptr);
         };
     }
 }
 
+extern "C" {
+    extern struct metaproxy_1_filter_struct metaproxy_1_filter_log;
+}
+
 #endif
 /*
  * Local variables: