summaryrefslogtreecommitdiffstats
path: root/src/extension/extension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/extension.cpp')
-rw-r--r--src/extension/extension.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp
index b36d2e3a1..b4cf06bda 100644
--- a/src/extension/extension.cpp
+++ b/src/extension/extension.cpp
@@ -440,6 +440,14 @@ Extension::get_param_enum (const gchar * name, const SPDocument * doc, const Ink
return param->get_enum(doc, node);
}
+
+gchar const *Extension::get_param_optiongroup( gchar const * name, SPDocument const * doc, Inkscape::XML::Node const * node)
+{
+ Parameter* param = param_shared(name, parameters);
+ return param->get_optiongroup(doc, node);
+}
+
+
/**
\return The value of the parameter identified by the name
\brief Gets a parameter identified by name with the bool placed
@@ -597,6 +605,13 @@ Extension::set_param_string (const gchar * name, const gchar * value, SPDocument
return param->set_string(value, doc, node);
}
+gchar const * Extension::set_param_optiongroup(gchar const * name, gchar const * value, SPDocument * doc, Inkscape::XML::Node * node)
+{
+ Parameter * param = param_shared(name, parameters);
+ return param->set_optiongroup(value, doc, node);
+}
+
+
/**
\return The passed in value
\brief Sets a parameter identified by name with the string