2 * File: PYSCLang_Module.h
3 * Project : Psycollider
7 * benjamin.golinvaux@euresys.com
8 * messenger: bgolinvaux@hotmail.com
10 * currently maintained by:
11 * Christopher Frauenberger
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation; either version 2 of the
17 * License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful, but
20 * WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
31 #ifndef _PYSCLANG_MODULE_
32 #define _PYSCLANG_MODULE_
37 #include "PyrObject.h"
38 #include "PyrKernel.h"
40 #include "VMGlobals.h"
41 //#include "UserPanel.h"
42 #include "ChangeCounter.h"
46 class PySCLang_Module
: public ExtensionModule
<PySCLang_Module
>
50 virtual ~PySCLang_Module() { }
52 static PyObject
* scLogSink_s
;
53 static PyObject
* PyPrOpenWinTextFile_s
;
58 Py::Object
sendMain(const Py::Tuple
&a
);
59 Py::Object
compileLibrary(const Py::Tuple
&a
);
60 Py::Object
setCmdLine(const Py::Tuple
&a
);
61 Py::Object
start(const Py::Tuple
&a
);
62 Py::Object
compiledOK__(const Py::Tuple
&a
);
63 Py::Object
setSCLogSink(const Py::Tuple
&a
);
64 Py::Object
setPyPrOpenWinTextFile(const Py::Tuple
&a
);