From 4d09b897026ce968395606745d36b473ddb85786 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 30 Oct 2007 19:28:07 +0000 Subject: r16676@shi: ted | 2007-10-12 21:09:50 -0700 Half fixed caching (bzr r3976) --- src/extension/implementation/implementation.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/extension/implementation/implementation.cpp') diff --git a/src/extension/implementation/implementation.cpp b/src/extension/implementation/implementation.cpp index 70423472b..3bf9b0b75 100644 --- a/src/extension/implementation/implementation.cpp +++ b/src/extension/implementation/implementation.cpp @@ -38,6 +38,11 @@ Implementation::unload(Inkscape::Extension::Extension *module) { return; } /* Implementation::unload */ +ImplementationDocumentCache * +Implementation::newDocCache (SPDocument * doc) { + return NULL; +} + bool Implementation::check(Inkscape::Extension::Extension *module) { /* If there are no checks, they all pass */ @@ -66,23 +71,23 @@ Implementation::open(Inkscape::Extension::Input *module, gchar const *filename) } /* Implementation::open */ Gtk::Widget * -Implementation::prefs_output(Inkscape::Extension::Output *module) { +Implementation::prefs_output(Inkscape::Extension::Output *module, ImplementationDocumentCache * docCache) { return module->autogui(NULL, NULL); } /* Implementation::prefs_output */ void -Implementation::save(Inkscape::Extension::Output *module, SPDocument *doc, gchar const *filename) { +Implementation::save(Inkscape::Extension::Output *module, SPDocument *doc, gchar const *filename, ImplementationDocumentCache * docCache) { /* throw save_fail */ return; } /* Implementation::save */ Gtk::Widget * -Implementation::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *view, sigc::signal * changeSignal) { +Implementation::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *view, sigc::signal * changeSignal, ImplementationDocumentCache * docCache) { return module->autogui(NULL, NULL); } /* Implementation::prefs_effect */ void -Implementation::effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *document) { +Implementation::effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *document, ImplementationDocumentCache * docCache) { /* throw filter_fail */ return; } /* Implementation::filter */ -- cgit v1.2.3