Changeset d71d800d9d311531a566399bd6b33f9bff9c8a4a
- Timestamp:
- 19/11/07 14:48:23
(1 year ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1195480103 +0000
- git-parent:
[140517913b5dce1fa54cb23ff6c37b526d904b76]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1195480103 +0000
- Message:
src/control: Implement libvlc_media_list_view_children_at_index.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rb999b9b |
rd71d800 |
|
| 556 | 556 | libvlc_exception_t * p_e ); |
|---|
| 557 | 557 | |
|---|
| | 558 | VLC_PUBLIC_API libvlc_media_list_view_t * |
|---|
| | 559 | libvlc_media_list_view_children_at_index( libvlc_media_list_view_t * p_mlv, |
|---|
| | 560 | int index, |
|---|
| | 561 | libvlc_exception_t * p_e ); |
|---|
| | 562 | |
|---|
| | 563 | |
|---|
| 558 | 564 | VLC_PUBLIC_API int |
|---|
| 559 | 565 | libvlc_media_list_view_index_of_item( libvlc_media_list_view_t * p_mlv, |
|---|
| r60327d5 |
rd71d800 |
|
| 75 | 75 | |
|---|
| 76 | 76 | /************************************************************************** |
|---|
| | 77 | * flat_media_list_view_item_at_index (private) |
|---|
| | 78 | * (called by flat_media_list_view_item_at_index) |
|---|
| | 79 | **************************************************************************/ |
|---|
| | 80 | static libvlc_media_list_view_t * |
|---|
| | 81 | flat_media_list_view_children_at_index( libvlc_media_list_view_t * p_mlv, |
|---|
| | 82 | int index, |
|---|
| | 83 | libvlc_exception_t * p_e ) |
|---|
| | 84 | { |
|---|
| | 85 | return NULL; |
|---|
| | 86 | } |
|---|
| | 87 | |
|---|
| | 88 | /************************************************************************** |
|---|
| 77 | 89 | * flat_media_list_view_release (private) |
|---|
| 78 | 90 | * (called by media_list_view_release) |
|---|
| … | … | |
| 105 | 117 | flat_media_list_view_count, |
|---|
| 106 | 118 | flat_media_list_view_item_at_index, |
|---|
| | 119 | flat_media_list_view_children_at_index, |
|---|
| 107 | 120 | flat_media_list_view_release, |
|---|
| 108 | 121 | p_this_view_data, |
|---|
| rb86be30 |
rd71d800 |
|
| 118 | 118 | typedef void (*libvlc_media_list_view_release_func_t)( libvlc_media_list_view_t * p_mlv ) ; |
|---|
| 119 | 119 | |
|---|
| 120 | | typedef int (*libvlc_media_list_view_count_func_t)( struct libvlc_media_list_view_t * p_mlv, |
|---|
| | 120 | typedef int (*libvlc_media_list_view_count_func_t)( libvlc_media_list_view_t * p_mlv, |
|---|
| 121 | 121 | libvlc_exception_t * ) ; |
|---|
| 122 | 122 | |
|---|
| 123 | 123 | typedef libvlc_media_descriptor_t * |
|---|
| 124 | 124 | (*libvlc_media_list_view_item_at_index_func_t)( |
|---|
| 125 | | struct libvlc_media_list_view_t * p_mlv, |
|---|
| | 125 | libvlc_media_list_view_t * p_mlv, |
|---|
| | 126 | int index, |
|---|
| | 127 | libvlc_exception_t * ) ; |
|---|
| | 128 | |
|---|
| | 129 | typedef libvlc_media_list_view_t * |
|---|
| | 130 | (*libvlc_media_list_view_children_at_index_func_t)( |
|---|
| | 131 | libvlc_media_list_view_t * p_mlv, |
|---|
| 126 | 132 | int index, |
|---|
| 127 | 133 | libvlc_exception_t * ) ; |
|---|
| … | … | |
| 140 | 146 | |
|---|
| 141 | 147 | /* Accessors */ |
|---|
| 142 | | libvlc_media_list_view_count_func_t pf_count; |
|---|
| 143 | | libvlc_media_list_view_item_at_index_func_t pf_item_at_index; |
|---|
| | 148 | libvlc_media_list_view_count_func_t pf_count; |
|---|
| | 149 | libvlc_media_list_view_item_at_index_func_t pf_item_at_index; |
|---|
| | 150 | libvlc_media_list_view_children_at_index_func_t pf_children_at_index; |
|---|
| 144 | 151 | |
|---|
| 145 | 152 | libvlc_media_list_view_release_func_t pf_release; |
|---|
| … | … | |
| 291 | 298 | libvlc_media_list_view_count_func_t pf_count, |
|---|
| 292 | 299 | libvlc_media_list_view_item_at_index_func_t pf_item_at_index, |
|---|
| | 300 | libvlc_media_list_view_children_at_index_func_t pf_children_at_index, |
|---|
| 293 | 301 | libvlc_media_list_view_release_func_t pf_release, |
|---|
| 294 | 302 | void * this_view_data, |
|---|
| r9636c64 |
rd71d800 |
|
| 105 | 105 | libvlc_media_list_view_count_func_t pf_count, |
|---|
| 106 | 106 | libvlc_media_list_view_item_at_index_func_t pf_item_at_index, |
|---|
| | 107 | libvlc_media_list_view_children_at_index_func_t pf_children_at_index, |
|---|
| 107 | 108 | libvlc_media_list_view_release_func_t pf_release, |
|---|
| 108 | 109 | void * this_view_data, |
|---|
| … | … | |
| 121 | 122 | p_mlv->p_mlist = p_mlist; |
|---|
| 122 | 123 | |
|---|
| 123 | | p_mlv->pf_count = pf_count; |
|---|
| 124 | | p_mlv->pf_item_at_index = pf_item_at_index; |
|---|
| 125 | | p_mlv->pf_release = pf_release; |
|---|
| | 124 | p_mlv->pf_count = pf_count; |
|---|
| | 125 | p_mlv->pf_item_at_index = pf_item_at_index; |
|---|
| | 126 | p_mlv->pf_children_at_index = pf_children_at_index; |
|---|
| | 127 | p_mlv->pf_release = pf_release; |
|---|
| 126 | 128 | |
|---|
| 127 | 129 | p_mlv->p_this_view_data = this_view_data; |
|---|
| … | … | |
| 226 | 228 | MEDIA_LIST_VIEW_FUNCTION( count, int, 0 ) |
|---|
| 227 | 229 | MEDIA_LIST_VIEW_FUNCTION( item_at_index, libvlc_media_descriptor_t *, NULL, int arg1 ) |
|---|
| 228 | | |
|---|
| | 230 | MEDIA_LIST_VIEW_FUNCTION( children_at_index, libvlc_media_list_view_t *, NULL, int arg1 ) |
|---|
| | 231 | |
|---|