Make public yp2_filter_struct non-const. If not, the linker symbol
[metaproxy-moved-to-github.git] / src / filter_log.hpp
index 78c261c..2ae395a 100644 (file)
@@ -1,27 +1,40 @@
+/* $Id: filter_log.hpp,v 1.12 2006-01-04 11:55:31 adam Exp $
+   Copyright (c) 2005, Index Data.
+
+%LICENSE%
+ */
 
 #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:
  * c-basic-offset: 4
  * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab
  */