Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv31597/src/classes
Modified Files:
MApplication.cpp
Log Message:
start/stop Python interpreter dynamically when the user changes enable/disable Python
option in the options dialog
Index: MApplication.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MApplication.cpp,v
retrieving revision 1.288
retrieving revision 1.289
diff -b -u -2 -r1.288 -r1.289
--- MApplication.cpp 13 Jan 2004 23:40:24 -0000 1.288
+++ MApplication.cpp 14 Jan 2004 00:06:13 -0000 1.289
@@ -45,4 +45,6 @@
#include "SendMessage.h"
+#include "InitPython.h"
+
#include "gui/wxMainFrame.h"
#include "gui/wxMDialogs.h" // MDialog_YesNoDialog
@@ -133,14 +135,4 @@
#endif
-// ----------------------------------------------------------------------------
-// functions
-// ----------------------------------------------------------------------------
-
-#ifdef USE_PYTHON
- // only used here, defined in src/Python/InitPython.cpp
- extern bool InitPython(void);
- extern void FreePython(void);
-#endif //Python
-
// ============================================================================
// implementation
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates