From 5421346cad32ea60be596291c74200bed21c2ef2 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Mon, 10 Mar 2008 00:03:28 +0000 Subject: Switch to newer binding stuff (bzr r5016) --- src/extension/script/InkscapeScript.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/extension/script/InkscapeScript.h') diff --git a/src/extension/script/InkscapeScript.h b/src/extension/script/InkscapeScript.h index 256b18a2c..b6334fde1 100644 --- a/src/extension/script/InkscapeScript.h +++ b/src/extension/script/InkscapeScript.h @@ -30,8 +30,9 @@ public: */ typedef enum { + JAVASCRIPT, PYTHON, - PERL + RUBY } ScriptLanguage; /** @@ -56,12 +57,12 @@ public: ScriptLanguage language); /** - * Interprets the script at the uri (file) named by 'uri', + * Interprets the script in the named file, * storing the stdout output in 'output', and any * error messages in 'error.' Language is one of the * enumerated types in ScriptLanguage above. */ - bool interpretUri(const Glib::ustring &uri, + bool interpretFile(const Glib::ustring &fname, Glib::ustring &output, Glib::ustring &error, ScriptLanguage language); -- cgit v1.2.3