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 const gchar* _context;
25 public:
26 ParamDescription(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
27 Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
28 };
30 } /* namespace Extension */
31 } /* namespace Inkscape */
33 #endif /* __INK_EXTENSION_PARAMDESCRIPTION_H__ */
35 /*
36 Local Variables:
37 mode:c++
38 c-file-style:"stroustrup"
39 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
40 indent-tabs-mode:nil
41 fill-column:99
42 End:
43 */
44 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :