diff options
Diffstat (limited to 'src/extension/param/parameter.cpp')
| -rw-r--r-- | src/extension/param/parameter.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/extension/param/parameter.cpp b/src/extension/param/parameter.cpp index 1347653a2..ac7c8b8dd 100644 --- a/src/extension/param/parameter.cpp +++ b/src/extension/param/parameter.cpp @@ -4,6 +4,7 @@ /* Author: * Ted Gould <ted@gould.cx> * Johan Engelen <johan@shouraizou.nl> + * Jon A. Cruz <jon@joncruz.org> * * Copyright (C) 2005-2007 Authors * @@ -155,8 +156,6 @@ Parameter::make (Inkscape::XML::Node * in_repr, Inkscape::Extension::Extension * return param; } - - /** \brief Wrapper to cast to the object and use it's function. */ bool Parameter::get_bool (const SPDocument * doc, const Inkscape::XML::Node * node) @@ -347,10 +346,9 @@ Parameter::new_child (Inkscape::XML::Node * parent) return retval; } -Inkscape::XML::Node * -Parameter::document_param_node (SPDocument * doc) +Inkscape::XML::Node *Parameter::document_param_node(SPDocument * doc) { - Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc); + Inkscape::XML::Document *xml_doc = doc->getReprDoc(); Inkscape::XML::Node * defs = SP_OBJECT_REPR(SP_DOCUMENT_DEFS(doc)); Inkscape::XML::Node * params = NULL; @@ -409,6 +407,13 @@ Parameter::string (std::list <std::string> &list) return; } +/** \brief All the code in Notebook::get_param to get the notebook content */ +Parameter * +Parameter::get_param(const gchar * name) +{ + return NULL; +} + Glib::ustring const extension_pref_root = "/extensions/"; } /* namespace Extension */ |
