Lines Matching defs:node
19 #include "xml/composite-node-observer.h"
20 #include "xml/node-event-vector.h"
28 void CompositeNodeObserver::notifyChildAdded(Node &node, Node &child, Node *prev)
35 iter->observer.notifyChildAdded(node, child, prev);
41 void CompositeNodeObserver::notifyChildRemoved(Node &node, Node &child,
49 iter->observer.notifyChildRemoved(node, child, prev);
55 void CompositeNodeObserver::notifyChildOrderChanged(Node &node, Node &child,
64 iter->observer.notifyChildOrderChanged(node, child, old_prev, new_prev);
71 Node &node,
79 iter->observer.notifyContentChanged(node, old_content, new_content);
86 Node &node, GQuark name,
94 iter->observer.notifyAttributeChanged(node, name, old_value, new_value);
118 void notifyChildAdded(Node &node, Node &child, Node *prev) {
120 vector.child_added(&node, &child, prev, data);
124 void notifyChildRemoved(Node &node, Node &child, Node *prev) {
126 vector.child_removed(&node, &child, prev, data);
130 void notifyChildOrderChanged(Node &node, Node &child, Node *old_prev, Node *new_prev) {
132 vector.order_changed(&node, &child, old_prev, new_prev, data);
136 void notifyContentChanged(Node &node, Util::ptr_shared<char> old_content, Util::ptr_shared<char> new_content) {
138 vector.content_changed(&node, old_content, new_content, data);
142 void notifyAttributeChanged(Node &node, GQuark name, Util::ptr_shared<char> old_value, Util::ptr_shared<char> new_value) {
144 vector.attr_changed(&node, g_quark_to_string(name), old_value, new_value, false, data);