summaryrefslogtreecommitdiffstats
path: root/src/extension/script/InkscapeScript.h
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-05-06 21:45:01 +0000
committerishmal <ishmal@users.sourceforge.net>2006-05-06 21:45:01 +0000
commitb151fcd87bfd5892dc3cd166a0944d12666aefab (patch)
tree0d2e099f46dcc747a4685727c3408c23efcdc544 /src/extension/script/InkscapeScript.h
parentr11769@tres: ted | 2006-05-06 09:09:59 -0700 (diff)
downloadinkscape-b151fcd87bfd5892dc3cd166a0944d12666aefab.tar.gz
inkscape-b151fcd87bfd5892dc3cd166a0944d12666aefab.zip
const types
(bzr r754)
Diffstat (limited to 'src/extension/script/InkscapeScript.h')
-rw-r--r--src/extension/script/InkscapeScript.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/extension/script/InkscapeScript.h b/src/extension/script/InkscapeScript.h
index 88df2c82a..e8728cb33 100644
--- a/src/extension/script/InkscapeScript.h
+++ b/src/extension/script/InkscapeScript.h
@@ -7,7 +7,7 @@
* Authors:
* Bob Jamison <rjamison@titan.com>
*
- * Copyright (C) 2004 Authors
+ * Copyright (C) 2004-2006 Bob Jamison
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
@@ -35,27 +35,33 @@ public:
} ScriptLanguage;
/**
- *
+ * Creates a generic script interpreter.
*/
InkscapeScript();
/**
- *
+ * Destructor
*/
~InkscapeScript();
/**
- *
+ * Interprets the script in the 'script' buffer,
+ * storing the stdout output in 'output', and any
+ * error messages in 'error.' Language is one of the
+ * enumerated types in ScriptLanguage above.
*/
- bool interpretScript(Glib::ustring &script,
+ bool interpretScript(const Glib::ustring &script,
Glib::ustring &output,
Glib::ustring &error,
ScriptLanguage language);
/**
- *
+ * Interprets the script at the uri (file) named by 'uri',
+ * storing the stdout output in 'output', and any
+ * error messages in 'error.' Language is one of the
+ * enumerated types in ScriptLanguage above.
*/
- bool interpretUri(Glib::ustring &uri,
+ bool interpretUri(const Glib::ustring &uri,
Glib::ustring &output,
Glib::ustring &error,
ScriptLanguage language);