summaryrefslogtreecommitdiffstats
path: root/src/extension/parameter.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-08-10 17:38:51 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-08-10 17:38:51 +0000
commitb29eafffd0b92cc7b67e5cd877aad5e98b0f0231 (patch)
tree167c348e5e11ebf3d8afec37593f023180675039 /src/extension/parameter.h
parentfix 1767940 (diff)
downloadinkscape-b29eafffd0b92cc7b67e5cd877aad5e98b0f0231.tar.gz
inkscape-b29eafffd0b92cc7b67e5cd877aad5e98b0f0231.zip
r16217@tres: ted | 2007-08-10 10:36:27 -0700
ImageMagick effects patch from Chris Brown. Google Summer of Code project. (bzr r3450)
Diffstat (limited to 'src/extension/parameter.h')
-rw-r--r--src/extension/parameter.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/extension/parameter.h b/src/extension/parameter.h
index 5ac1c9f5c..0c799a1c2 100644
--- a/src/extension/parameter.h
+++ b/src/extension/parameter.h
@@ -13,10 +13,21 @@
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+
+/** \brief The root directory in the preferences database for extension-related parameters. */
+#define PREF_DIR "extensions"
+
#include <gtkmm/widget.h>
#include "xml/document.h"
+#include "xml/node.h"
+#include "document.h"
#include "extension-forward.h"
+#include "prefs-utils.h"
+
+#include <glibmm/i18n.h>
+
+#include "color.h"
namespace Inkscape {
namespace Extension {
@@ -76,11 +87,16 @@ public:
const Inkscape::XML::Node * node);
const gchar * get_string (const SPDocument * doc,
const Inkscape::XML::Node * node);
+ SPColor* get_color (const SPDocument * doc,
+ const Inkscape::XML::Node * node);
+ const gchar * get_enum (const SPDocument * doc,
+ const Inkscape::XML::Node * node);
bool set_bool (bool in, SPDocument * doc, Inkscape::XML::Node * node);
int set_int (int in, SPDocument * doc, Inkscape::XML::Node * node);
float set_float (float in, SPDocument * doc, Inkscape::XML::Node * node);
const gchar * set_string (const gchar * in, SPDocument * doc, Inkscape::XML::Node * node);
+ SPColor* set_color (SPColor* in, SPDocument * doc, Inkscape::XML::Node * node);
const gchar * name (void) {return _name;}
@@ -90,7 +106,6 @@ public:
gchar const * get_tooltip (void) { return _desc; }
};
-
} /* namespace Extension */
} /* namespace Inkscape */