/*
6 * MenTaLguY <mental@rydia.net>
7 * Krzysztof KosiĆski <tweenk.pl@gmail.com> (documentation)
9 * Copyright (C) 2018 Authors
10 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
15#ifndef SEEN_INKSCAPE_XML_NODE_OBSERVER_H
16#define SEEN_INKSCAPE_XML_NODE_OBSERVER_H
22#define INK_UNUSED(x) ((void)(x))
108 INK_UNUSED(old_prev);
109 INK_UNUSED(new_prev);
126 INK_UNUSED(old_content);
127 INK_UNUSED(new_content);
147 INK_UNUSED(old_value);
148 INK_UNUSED(new_value);
162 INK_UNUSED(old_name);
163 INK_UNUSED(new_name);
Interface for XML node observers.
virtual void notifyElementNameChanged(Node &node, GQuark old_name, GQuark new_name)
Element name change callback.
virtual void notifyAttributeChanged(Node &node, GQuark name, Util::ptr_shared old_value, Util::ptr_shared new_value)
Attribute change callback.
virtual void notifyContentChanged(Node &node, Util::ptr_shared old_content, Util::ptr_shared new_content)
Content change callback.
virtual ~NodeObserver()=default
virtual void notifyChildOrderChanged(Node &node, Node &child, Node *old_prev, Node *new_prev)
Child order change callback.
virtual void notifyChildRemoved(Node &node, Node &child, Node *prev)
Child removal callback.
virtual void notifyChildAdded(Node &node, Node &child, Node *prev)
Child addition callback.
Interface for refcounted XML nodes.
Inkscape::XML::Node * node
Helper class to stream background task notifications as a series of messages.