diff options
| author | Ted Gould <ted@gould.cx> | 2007-10-30 19:29:36 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-10-30 19:29:36 +0000 |
| commit | d0090423642f0d4eea455ff77087027be242b148 (patch) | |
| tree | 21f238ed7d056f98929384e053831247300f69f0 /src/extension/execution-env.h | |
| parent | r16677@shi: ted | 2007-10-17 19:31:04 -0700 (diff) | |
| download | inkscape-d0090423642f0d4eea455ff77087027be242b148.tar.gz inkscape-d0090423642f0d4eea455ff77087027be242b148.zip | |
r16892@shi: ted | 2007-10-29 21:33:09 -0700
Okay, so now the caches get into the execution environment and can be passed around to the effects. Now it's a
matter of implementing the caches in the drivers.
(bzr r3978)
Diffstat (limited to 'src/extension/execution-env.h')
| -rw-r--r-- | src/extension/execution-env.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/extension/execution-env.h b/src/extension/execution-env.h index a6c4ebf64..7b35f33a2 100644 --- a/src/extension/execution-env.h +++ b/src/extension/execution-env.h @@ -19,6 +19,7 @@ #include "forward.h" #include "extension-forward.h" +#include "extension.h" namespace Inkscape { namespace Extension { @@ -41,11 +42,17 @@ private: sigc::connection _dialogsig; sigc::connection _changesig; sigc::connection _timersig; + Implementation::ImplementationDocumentCache * _docCache; public: Effect * _effect; - ExecutionEnv (Effect * effect, Inkscape::UI::View::View * doc, Gtk::Widget * controls = NULL, sigc::signal<void> * changeSignal = NULL, Gtk::Dialog * prefDialog = NULL); + ExecutionEnv (Effect * effect, + Inkscape::UI::View::View * doc, + Gtk::Widget * controls = NULL, + sigc::signal<void> * changeSignal = NULL, + Gtk::Dialog * prefDialog = NULL, + Implementation::ImplementationDocumentCache * docCache = NULL); ~ExecutionEnv (void); void run (void); @@ -64,6 +71,8 @@ private: void documentCancel (void); void documentCommit (void); void reselect (void); + void genDocCache (void); + void killDocCache (void); }; } } /* namespace Inkscape, Extension */ |
