1 #ifndef __INKSCAPE_EXTENSION_INTERNAL_BITMAP_IMAGEMAGICK_H__
2 #define __INKSCAPE_EXTENSION_INTERNAL_BITMAP_IMAGEMAGICK_H__
4 /*
5 * Copyright (C) 2007 Authors:
6 * Christopher Brown <audiere@gmail.com>
7 * Ted Gould <ted@gould.cx>
8 *
9 * Released under GNU GPL, read the file 'COPYING' for more information
10 */
12 #include "extension/implementation/implementation.h"
13 #include "extension/extension-forward.h"
14 #include <Magick++.h>
16 namespace Inkscape {
17 namespace Extension {
18 namespace Internal {
19 namespace Bitmap {
21 class ImageMagick : public Inkscape::Extension::Implementation::Implementation {
22 public:
23 /* Functions to be implemented by subclasses */
24 virtual void applyEffect(Magick::Image */*image*/) { };
25 virtual void refreshParameters(Inkscape::Extension::Effect */*module*/) { };
27 /* Functions implemented from ::Implementation */
28 bool load(Inkscape::Extension::Extension *module);
29 Inkscape::Extension::Implementation::ImplementationDocumentCache * newDocCache (Inkscape::Extension::Extension * ext, Inkscape::UI::View::View * doc);
30 void effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *document, Inkscape::Extension::Implementation::ImplementationDocumentCache * docCache);
31 Gtk::Widget* prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, Inkscape::Extension::Implementation::ImplementationDocumentCache * docCache);
32 };
34 }; /* namespace Bitmap */
35 }; /* namespace Internal */
36 }; /* namespace Extension */
37 }; /* namespace Inkscape */
39 #endif /* __INKSCAPE_EXTENSION_INTERNAL_BITMAP_IMAGEMAGICK_H__ */