diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-02-28 07:19:26 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-02-28 07:19:26 +0000 |
| commit | 832de37d5d8f77cc50e4976ba41ee27f3a87ba29 (patch) | |
| tree | 8f741a387f72676d6421b6e5f3003f9ce9285efd /src/extension/paramenum.h | |
| parent | a bit more boilerplate code for SVGFonts (diff) | |
| download | inkscape-832de37d5d8f77cc50e4976ba41ee27f3a87ba29.tar.gz inkscape-832de37d5d8f77cc50e4976ba41ee27f3a87ba29.zip | |
Warning cleanup
(bzr r4891)
Diffstat (limited to 'src/extension/paramenum.h')
| -rw-r--r-- | src/extension/paramenum.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/extension/paramenum.h b/src/extension/paramenum.h index 78b84e612..9118a07ad 100644 --- a/src/extension/paramenum.h +++ b/src/extension/paramenum.h @@ -1,5 +1,5 @@ -#ifndef __INK_EXTENSION_PARAMENUM_H__ -#define __INK_EXTENSION_PARAMENUM_H__ +#ifndef INK_EXTENSION_PARAMENUM_H_SEEN +#define INK_EXTENSION_PARAMENUM_H_SEEN /** \file * Enumeration parameter for extensions. @@ -30,21 +30,21 @@ namespace Extension { class ParamComboBox : public Parameter { private: /** \brief Internal value. This should point to a string that has - been allocated in memory. And should be free'd. + been allocated in memory. And should be free'd. It is the value of the current selected string */ gchar * _value; - + GSList * choices; /**< A table to store the choice strings */ - + public: ParamComboBox(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml); virtual ~ParamComboBox(void); Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal); Glib::ustring * string (void); - - const gchar * get (const SPDocument * doc, const Inkscape::XML::Node * node) { return _value; } + + const gchar * get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; } const gchar * set (const gchar * in, SPDocument * doc, Inkscape::XML::Node * node); - + void changed (void); }; /* class ParamComboBox */ @@ -55,7 +55,7 @@ public: } /* namespace Extension */ } /* namespace Inkscape */ -#endif /* __INK_EXTENSION_PARAMENUM_H__ */ +#endif /* INK_EXTENSION_PARAMENUM_H_SEEN */ /* Local Variables: |
