static void ClearStore(RefPtr<ObjectStore> os) { Gtk::TreeModel::Children children = os->children(); // с конца быстрее - не требуется реиндексация while( children.size() ) DeleteMedia(os, --children.end()); }
void PV2WayDummyInputMIONodeFactory::Delete(PVMFNodeInterface** aMioNode) { PvmfMediaInputNodeFactory::Delete(*aMioNode); DeleteMedia(); *aMioNode = NULL; }