1 #ifndef __INK_EXTENSION_PARAMDESCRIPTION_H__
2 #define __INK_EXTENSION_PARAMDESCRIPTION_H__
4 /*
5 * Copyright (C) 2005-2007 Authors:
6 * Ted Gould <ted@gould.cx>
7 * Johan Engelen <johan@shouraizou.nl> *
8 * Released under GNU GPL, read the file 'COPYING' for more information
9 */
11 #include <gtkmm/widget.h>
12 #include <xml/node.h>
13 #include <document.h>
14 #include "parameter.h"
16 namespace Inkscape {
17 namespace Extension {
19 /** \brief A description parameter */
20 class ParamDescription : public Parameter {
21 private:
22 /** \brief Internal value. */
23 gchar * _value;
24 public:
25 ParamDescription(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
26 Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
27 };
29 } /* namespace Extension */
30 } /* namespace Inkscape */
32 #endif /* __INK_EXTENSION_PARAMDESCRIPTION_H__ */
34 /*
35 Local Variables:
36 mode:c++
37 c-file-style:"stroustrup"
38 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
39 indent-tabs-mode:nil
40 fill-column:99
41 End:
42 */
43 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :