summaryrefslogtreecommitdiffstats
path: root/src/extension/paramenum.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2008-03-01 09:09:39 +0000
committerjoncruz <joncruz@users.sourceforge.net>2008-03-01 09:09:39 +0000
commitd97e88a26859a911564a285d078222cbc2d612a3 (patch)
tree2ea7cf74ec28a3f526b1dbd89b99728c2972f7d6 /src/extension/paramenum.h
parentFix to check for out of bounds index *before* using the array index (diff)
downloadinkscape-d97e88a26859a911564a285d078222cbc2d612a3.tar.gz
inkscape-d97e88a26859a911564a285d078222cbc2d612a3.zip
Warning and whitespace cleanup
(bzr r4914)
Diffstat (limited to 'src/extension/paramenum.h')
-rw-r--r--src/extension/paramenum.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/extension/paramenum.h b/src/extension/paramenum.h
index b01a15344..5ea4a0196 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);
void string (std::string &string);
-
- 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: