summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-02-22 12:21:03 +0000
committertavmjong-free <tavmjong@free.fr>2017-02-22 12:21:03 +0000
commit1510fb894b45a78aaa2ac9f1dca81357c010544a (patch)
tree1fa9948a88985204aa9250cdcdd747dd472ef173 /src/document.h
parentFinish partially completed "cr_selector_parse_from_buf" and make it publicly ... (diff)
downloadinkscape-1510fb894b45a78aaa2ac9f1dca81357c010544a.tar.gz
inkscape-1510fb894b45a78aaa2ac9f1dca81357c010544a.zip
Allow any valid CSS selector.
(bzr r15539)
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/document.h b/src/document.h
index 142eb5000..db50f1717 100644
--- a/src/document.h
+++ b/src/document.h
@@ -199,7 +199,8 @@ public:
std::vector<SPObject *> getObjectsByClass(Glib::ustring const &klass) const;
std::vector<SPObject *> getObjectsByElement(Glib::ustring const &element) const;
-
+ std::vector<SPObject *> getObjectsBySelector(Glib::ustring const &selector) const;
+
void bindObjectToRepr(Inkscape::XML::Node *repr, SPObject *object);
SPObject *getObjectByRepr(Inkscape::XML::Node *repr) const;