#define HH_PyKit_PythonPublisher_ 1
// Custom includes
-#include <boost/python.hpp>
+#include <boost/scoped_ptr.hpp>
#include "Publisher.hh"
//#include "PythonPublisher.mpp"
: public Publisher
{
public:
- PythonPublisher(std::string initPy);
+ explicit PythonPublisher(std::string initPy);
+ ~PythonPublisher();
void publish(Request & request);
private:
- boost::python::dict mainNamespace_;
- Publisher * pythonPublisher_;
+ struct Impl;
+ boost::scoped_ptr<Impl> impl_;
};
-# define PYTHON_PREPARE_IMPORT(module) \
- PyImport_AppendInittab(const_cast<char*>(#module), init ## module)
-
}
///////////////////////////////hh.e////////////////////////////////////////