window_py.cpp 393 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <boost/python.hpp>
#include <boost/python/module.hpp>
#include <boost/python/def.hpp>

#include "plugin.h"
#include "window.h"

using namespace boost::python;

BOOST_PYTHON_MODULE(PySCHNApps)
{
	class_<CGoGN::SCHNApps::Window>("Window")
		.def(init<>())
        .def("launch", &CGoGN::SCHNApps::Window::launch)
        .def("loadPlugin", &CGoGN::SCHNApps::Window::loadPlugin_py)
	;
}