mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
532 B
16 lines
532 B
|
11 years ago
|
#include "api.h"
|
||
|
|
|
||
|
|
BOOST_PYTHON_MODULE(juci_to_python_api) {
|
||
|
|
using namespace boost::python;
|
||
|
|
// plugin inclusion
|
||
|
|
def("addMenuElement", &libjuci::AddMenuElement);
|
||
|
|
def("addSubMenuElement", &libjuci::AddSubMenuElement);
|
||
|
|
def("loadPlugin", &libjuci::LoadPlugin);
|
||
|
|
def("initPlugin", &libjuci::InitPlugin);
|
||
|
|
|
||
|
|
// text editing
|
||
|
|
def("replaceLine", &libjuci::ReplaceLine);
|
||
|
|
def("replaceWord", &libjuci::ReplaceWord);
|
||
|
|
def("getWord", &libjuci::GetWord);
|
||
|
|
} // module::juci_to_python_api
|