diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-03-10 00:03:28 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-03-10 00:03:28 +0000 |
| commit | 5421346cad32ea60be596291c74200bed21c2ef2 (patch) | |
| tree | aaa13c90610c1e087007608851b36dc1f24e1f82 /src/extension/script/InkscapeScript.h | |
| parent | Don't steal 'del' key in pen context when there is no curve being drawn (clos... (diff) | |
| download | inkscape-5421346cad32ea60be596291c74200bed21c2ef2.tar.gz inkscape-5421346cad32ea60be596291c74200bed21c2ef2.zip | |
Switch to newer binding stuff
(bzr r5016)
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); |
