diff options
Diffstat (limited to 'src/extension/script/InkscapeInterpreter.h')
| -rw-r--r-- | src/extension/script/InkscapeInterpreter.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/extension/script/InkscapeInterpreter.h b/src/extension/script/InkscapeInterpreter.h new file mode 100644 index 000000000..9dd585d0d --- /dev/null +++ b/src/extension/script/InkscapeInterpreter.h @@ -0,0 +1,68 @@ +#ifndef __INKSCAPE_INTERPRETER_H__ +#define __INKSCAPE_INTERPRETER_H__ + +/** + * Base class for interpreter implementations, (InkscapePython, etc) + * + * Authors: + * Bob Jamison <rjamison@titan.com> + * + * Copyright (C) 2004 Authors + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include <glibmm.h> + +namespace Inkscape { +namespace Extension { +namespace Script { + + +class InkscapeInterpreter +{ +public: + + /** + * + */ + InkscapeInterpreter(); + + /** + * + */ + virtual ~InkscapeInterpreter(); + + /** + * + */ + virtual bool interpretScript(Glib::ustring &script, + Glib::ustring &output, + Glib::ustring &error); + + /** + * + */ + virtual bool interpretUri(Glib::ustring &uri, + Glib::ustring &output, + Glib::ustring &error); + + + +}; //class InkscapeInterpreter + + + + +} // namespace Script +} // namespace Extension +} // namespace Inkscape + + + +#endif /* __INKSCAPE_INTERPRETER_H__ */ +//######################################################################### +//# E N D O F F I L E +//######################################################################### + + |
