summaryrefslogtreecommitdiffstats
path: root/src/extension/script/InkscapeInterpreter.h
blob: 7d16ed9794033f2111b576f0ce4add659179cae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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(const Glib::ustring &script,
                                 Glib::ustring &output,
                                 Glib::ustring &error);

    /**
     *
     */
    virtual bool interpretUri(const 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
//#########################################################################