35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux * SVG <switch> implementation
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux * Andrius R. <knutux@gmail.com>
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux * Copyright (C) 2006 authors
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux * Released under GNU GPL, read the file 'COPYING' for more information
aded4b44e9194df7c9905c5787d1c7a9553d12cdMarkus Engel#define SP_SWITCH(obj) (dynamic_cast<SPSwitch*>((SPObject*)obj))
d74e415b7dd25ccb70d40a9f11ec99f23b57ed63Markus Engel#define SP_IS_SWITCH(obj) (dynamic_cast<const SPSwitch*>((SPObject*)obj) != NULL)
1f6daa293cacc62d85a023412c70534a12f6e99aMarc Jeanmougin std::vector<SPObject*> _childList(bool add_ref, SPObject::Action action);
f232be2471038c563c60f7311537aad1628d52baMarkus Engel virtual void _showChildren (Inkscape::Drawing &drawing, Inkscape::DrawingItem *ai, unsigned int key, unsigned int flags);
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel static void _releaseItem(SPObject *obj, SPSwitch *selection);
51dc158adbe2c9d1df3c941cbf78b90944d1afc2Markus Engel virtual void child_added(Inkscape::XML::Node* child, Inkscape::XML::Node* ref);
51dc158adbe2c9d1df3c941cbf78b90944d1afc2Markus Engel virtual void remove_child(Inkscape::XML::Node *child);