Make public yp2_filter_struct non-const. If not, the linker symbol
[metaproxy-moved-to-github.git] / src / filter_log.hpp
index e7cdf4b..2ae395a 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: filter_log.hpp,v 1.3 2005-10-15 14:09:09 adam Exp $
+/* $Id: filter_log.hpp,v 1.12 2006-01-04 11:55:31 adam Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
@@ -7,21 +7,28 @@
 #ifndef FILTER_LOG_HPP
 #define FILTER_LOG_HPP
 
-#include <stdexcept>
-#include <vector>
+#include <boost/scoped_ptr.hpp>
 
 #include "filter.hpp"
 
 namespace yp2 {
     namespace filter {
         class Log : public Base {
+            class Rep;
+            boost::scoped_ptr<Rep> m_p;
         public:
-            Log::Log();
+            Log();
+            Log(const std::string &x);
+            ~Log();
             void process(yp2::Package & package) const;
         };
     }
 }
 
+extern "C" {
+    extern struct yp2_filter_struct yp2_filter_log;
+}
+
 #endif
 /*
  * Local variables: