Code

moving trunk for module inkscape
[inkscape.git] / src / extension / internal / gimpgrad.h
1 /** \file
2  *
3  * Implementation class of the GIMP gradient plugin.
4  *
5  * Authors:
6  *   Ted Gould <ted@gould.cx>
7  *
8  * Copyright (C) 2004-2005 Authors
9  *
10  * Released under GNU GPL, read the file 'COPYING' for more information
11  */
13 #include <glibmm/ustring.h>
15 #include "extension/implementation/implementation.h"
16 #include "extension/extension-forward.h"
18 namespace Inkscape {
19 namespace Extension {
20 namespace Internal {
22 /** \brief  Implementation class of the GIMP gradient plugin.  This mostly
23             just creates a namespace for the GIMP gradient plugin today.
24 */
25 class GimpGrad : public Inkscape::Extension::Implementation::Implementation {
26 private:
27     Glib::ustring new_stop (ColorRGBA in_color, float location);
29 public:
30     bool load(Inkscape::Extension::Extension *module);
31     void unload(Inkscape::Extension::Extension *module);
32     SPDocument *open(Inkscape::Extension::Input *module, gchar const *filename);
34         static void init (void);
35 };
38 } } }  /* namespace Internal; Extension; Inkscape */
40 /*
41   Local Variables:
42   mode:c++
43   c-file-style:"stroustrup"
44   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
45   indent-tabs-mode:nil
46   fill-column:99
47   End:
48 */
49 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :