diff options
| author | Ted Gould <ted@gould.cx> | 2007-09-01 04:36:03 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-09-01 04:36:03 +0000 |
| commit | 776410582f483ba74ce1068ff0dc0e9f068fb5d7 (patch) | |
| tree | d71a68250393725e3b54c691fe5939fddd625de3 /src/extension/effect.h | |
| parent | r16441@tres: ted | 2007-08-30 20:44:39 -0700 (diff) | |
| download | inkscape-776410582f483ba74ce1068ff0dc0e9f068fb5d7.tar.gz inkscape-776410582f483ba74ce1068ff0dc0e9f068fb5d7.zip | |
r16442@tres: ted | 2007-08-30 21:51:42 -0700
One preference dialog per effect. Nothing crazy here. Also setting the
timer to be ref counted in lock/unlock mode. This way the whole thing
stays locked while the dialog is shown.
(bzr r3653)
Diffstat (limited to 'src/extension/effect.h')
| -rw-r--r-- | src/extension/effect.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/extension/effect.h b/src/extension/effect.h index bebdb1c4f..44d18146a 100644 --- a/src/extension/effect.h +++ b/src/extension/effect.h @@ -18,6 +18,7 @@ #include <gtk/gtkdialog.h> #include "verbs.h" +#include "prefdialog.h" #include "extension.h" struct SPDocument; @@ -88,6 +89,9 @@ class Effect : public Extension { Inkscape::XML::Node * _menu_node; /** \brief Whehter a working dialog should be shown */ bool _workingDialog; + + /** \brief The preference dialog if it is shown */ + PrefDialog * _prefDialog; public: Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation * in_imp); @@ -109,6 +113,7 @@ public: bool no_doc; // if true, the effect does not process SVG document at all, so no need to save, read, and watch for errors + void set_pref_dialog (PrefDialog * prefdialog); private: static gchar * remove_ (gchar * instr); }; |
