4 // Stefan Bund <info@j32.de>
7 \brief PythonPublisher public header */
9 #ifndef HH_PyKit_PythonPublisher_
10 #define HH_PyKit_PythonPublisher_ 1
13 #include <boost/python.hpp>
14 #include "Publisher.hh"
16 //#include "PythonPublisher.mpp"
17 ///////////////////////////////hh.p////////////////////////////////////////
25 PythonPublisher(std::string initPy);
27 void publish(Request & request);
30 boost::python::dict mainNamespace_;
31 Publisher * pythonPublisher_;
34 # define PYTHON_PREPARE_IMPORT(module) \
35 PyImport_AppendInittab(const_cast<char*>(#module), init ## module)
39 ///////////////////////////////hh.e////////////////////////////////////////
40 //#include "PythonPublisher.cci"
41 //#include "PythonPublisher.ct"
42 //#include "PythonPublisher.cti"
50 // c-file-style: "j32"
51 // indent-tabs-mode: nil
52 // ispell-local-dictionary: "american"
53 // compile-command: "scons -U"