From b151fcd87bfd5892dc3cd166a0944d12666aefab Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Sat, 6 May 2006 21:45:01 +0000 Subject: const types (bzr r754) --- src/extension/script/InkscapeScript.h | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'src/extension/script/InkscapeScript.h') 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 * - * 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); -- cgit v1.2.3