diff options
Diffstat (limited to 'src/extension/script/InkscapeScript.h')
| -rw-r--r-- | src/extension/script/InkscapeScript.h | 7 |
1 files changed, 4 insertions, 3 deletions
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); |
