1 #ifndef __INKSCAPE_INTERPRETER_H__
2 #define __INKSCAPE_INTERPRETER_H__
4 /**
5 * Base class for interpreter implementations, (InkscapePython, etc)
6 *
7 * Authors:
8 * Bob Jamison <rjamison@titan.com>
9 *
10 * Copyright (C) 2004 Authors
11 *
12 * Released under GNU GPL, read the file 'COPYING' for more information
13 */
15 #include <glibmm.h>
17 namespace Inkscape {
18 namespace Extension {
19 namespace Script {
22 class InkscapeInterpreter
23 {
24 public:
26 /**
27 *
28 */
29 InkscapeInterpreter();
31 /**
32 *
33 */
34 virtual ~InkscapeInterpreter();
36 /**
37 *
38 */
39 virtual bool interpretScript(const Glib::ustring &script,
40 Glib::ustring &output,
41 Glib::ustring &error);
43 /**
44 *
45 */
46 virtual bool interpretUri(const Glib::ustring &uri,
47 Glib::ustring &output,
48 Glib::ustring &error);
52 }; //class InkscapeInterpreter
57 } // namespace Script
58 } // namespace Extension
59 } // namespace Inkscape
63 #endif /* __INKSCAPE_INTERPRETER_H__ */
64 //#########################################################################
65 //# E N D O F F I L E
66 //#########################################################################