From a686e7032371fa1e628201312c7f59b2d460a830 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Sun, 15 Apr 2007 01:18:55 +0000 Subject: Rearrange bindings to use PyCXX (bzr r2891) --- src/extension/script/InkscapePython.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/extension/script/InkscapePython.h') diff --git a/src/extension/script/InkscapePython.h b/src/extension/script/InkscapePython.h index 76739c152..a97c945c8 100644 --- a/src/extension/script/InkscapePython.h +++ b/src/extension/script/InkscapePython.h @@ -37,7 +37,6 @@ public: */ InkscapePython() { - initialized = false; } @@ -58,17 +57,20 @@ public: Glib::ustring &error); + virtual void writeStdOut(const Glib::ustring &txt) + { + stdOut.append(txt); + } + virtual void writeStdErr(const Glib::ustring &txt) + { + stdErr.append(txt); + } private: - /** - * First-time call to set things up - */ - bool initialize(); - - bool initialized; - + Glib::ustring stdOut; + Glib::ustring stdErr; }; -- cgit v1.2.3