diff options
| author | Ted Gould <ted@gould.cx> | 2007-10-30 19:28:31 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-10-30 19:28:31 +0000 |
| commit | cabb72a8c874cf939150e02af804a1c781cd0b17 (patch) | |
| tree | da8834a6d8e32e2c631f1b29b835c3ac76f72a59 /src/extension/implementation/script.h | |
| parent | r16676@shi: ted | 2007-10-12 21:09:50 -0700 (diff) | |
| download | inkscape-cabb72a8c874cf939150e02af804a1c781cd0b17.tar.gz inkscape-cabb72a8c874cf939150e02af804a1c781cd0b17.zip | |
r16677@shi: ted | 2007-10-17 19:31:04 -0700
Creating and adding interfaces for a document based cache that an effect can define. This removes the effect from
having to know if the document has changed, and keep track of that. This allows them to optimize their performance
when doing things like live effects.
(bzr r3977)
Diffstat (limited to 'src/extension/implementation/script.h')
| -rw-r--r-- | src/extension/implementation/script.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/extension/implementation/script.h b/src/extension/implementation/script.h index 417b42a89..6a6256f3c 100644 --- a/src/extension/implementation/script.h +++ b/src/extension/implementation/script.h @@ -90,13 +90,15 @@ public: */ virtual Gtk::Widget *prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, - sigc::signal<void> * changeSignal); + sigc::signal<void> * changeSignal, + ImplementationDocumentCache * docCache); /** * */ virtual void effect(Inkscape::Extension::Effect *module, - Inkscape::UI::View::View *doc); + Inkscape::UI::View::View *doc, + ImplementationDocumentCache * docCache); virtual bool cancelProcessing (void); |
