comparison DOCS/tech/playtree @ 23873:49a433e2e78f

cosmetics: misc typo fixes
author diego
date Sat, 28 Jul 2007 14:28:38 +0000
parents f3d7a1b58a82
children 52f6429a9ba7
comparison
equal deleted inserted replaced
23872:4d936284a5ec 23873:49a433e2e78f
49 In all this function you can use any entry of the the list as first argument, 49 In all this function you can use any entry of the the list as first argument,
50 no need that it's the first one. The same apply when you set the child of a node, 50 no need that it's the first one. The same apply when you set the child of a node,
51 the child argument can be any entry in a list. 51 the child argument can be any entry in a list.
52 To remove an entry from the tree use play_tree_remove. If the second arg (free_it) 52 To remove an entry from the tree use play_tree_remove. If the second arg (free_it)
53 is true it will also free it, if the entry should be freed and the third 53 is true it will also free it, if the entry should be freed and the third
54 arg is true it will also free the childs. 54 arg is true it will also free the children.
55 55
56 When your tree is ready you can then use play_tree_cleanup to remove all unuseful 56 When your tree is ready you can then use play_tree_cleanup to remove all unuseful
57 entries. 57 entries.
58 58
59 If you want to load a playlist you can use parse_playtree which take a stream_t 59 If you want to load a playlist you can use parse_playtree which take a stream_t