summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/livecode-tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/livecode-tool.h')
-rw-r--r--src/ui/tools/livecode-tool.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/tools/livecode-tool.h b/src/ui/tools/livecode-tool.h
index fdeb61264..63d85c2e8 100644
--- a/src/ui/tools/livecode-tool.h
+++ b/src/ui/tools/livecode-tool.h
@@ -19,7 +19,7 @@
#include "display/canvas-text.h"
#include "display/canvas-temporary-item.h"
#include "ui/control-manager.h"
-#include "livecode/api.h"
+#include "livecode/context.h"
#include <boost/optional.hpp>
#define SP_LIVECODE_CONTEXT(obj) (dynamic_cast<Inkscape::UI::Tools::LivecodeTool*>((Inkscape::UI::Tools::ToolBase*)obj))
@@ -43,11 +43,13 @@ public:
bool root_handler(GdkEvent* event) override;
const std::string& getPrefsPath() override;
+ void load_script(Glib::ustring const &path);
+
private:
bool handle_tick(Glib::RefPtr<Gdk::FrameClock> const &frame_clock);
guint tick_callback;
- Livecode::API api;
+ Livecode::Context context;
};
}