Changeset 218648ea6605438015bcc9fa9d9c843870dad259

Show
Ignore:
Timestamp:
28/08/07 04:41:46 (1 year ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1188268906 +0000
git-parent:

[176b609eb2fdfb2dadec23fa14c8bef93b01e068]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1188268906 +0000
Message:

libvlc.h: Don't expose libvlc_tree. It will get deleted.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc/libvlc.h

    r130484c r218648e  
    123123 
    124124/***************************************************************************** 
    125  * Tree 
    126  *****************************************************************************/ 
    127 /** defgroup libvlc_tree Tree 
    128  * \ingroup libvlc 
    129  * LibVLC Tree. A tree holds an item plus several subtrees. 
    130  * @{ 
    131  */ 
    132 VLC_PUBLIC_API libvlc_tree_t * 
    133     libvlc_tree_new_with_media_list_as_item( libvlc_media_list_t * p_mlist, 
    134                                              libvlc_exception_t * p_e ); 
    135  
    136 VLC_PUBLIC_API libvlc_tree_t * 
    137     libvlc_tree_new_with_string_as_item( const char * psz, 
    138                                          libvlc_exception_t * p_e ); 
    139 VLC_PUBLIC_API void 
    140     libvlc_tree_release( libvlc_tree_t * p_tree ); 
    141  
    142 VLC_PUBLIC_API void 
    143     libvlc_tree_retain( libvlc_tree_t * p_tree ); 
    144  
    145 VLC_PUBLIC_API char * 
    146     libvlc_tree_item_as_string( libvlc_tree_t * p_tree, 
    147                                 libvlc_exception_t * p_e ); 
    148  
    149 VLC_PUBLIC_API libvlc_media_list_t * 
    150     libvlc_tree_item_as_media_list( libvlc_tree_t * p_tree, 
    151                                     libvlc_exception_t * p_e ); 
    152  
    153 VLC_PUBLIC_API int 
    154     libvlc_tree_subtree_count( libvlc_tree_t * p_tree, libvlc_exception_t * p_e ); 
    155  
    156 VLC_PUBLIC_API libvlc_tree_t * 
    157     libvlc_tree_subtree_at_index( libvlc_tree_t * p_tree, 
    158                               int index, 
    159                               libvlc_exception_t * p_e ); 
    160  
    161 VLC_PUBLIC_API void 
    162     libvlc_tree_insert_subtree_at_index( libvlc_tree_t * p_tree, 
    163                                          libvlc_tree_t * p_subtree, 
    164                                          int index, 
    165                                          libvlc_exception_t * p_e ); 
    166  
    167 VLC_PUBLIC_API void 
    168     libvlc_tree_remove_subtree_at_index( libvlc_tree_t * p_tree, 
    169                                          int index, 
    170                                          libvlc_exception_t * p_e ); 
    171  
    172 /**@} */ 
    173  
    174  
    175  
    176 /***************************************************************************** 
    177125 * Media descriptor 
    178126 *****************************************************************************/ 
     
    12331181                                         libvlc_exception_t *p_e ); 
    12341182 
    1235  
    12361183/** 
    12371184 * Get an event type name  
  • include/vlc/libvlc_structures.h

    r6d9dc5e r218648e  
    5454 
    5555/***************************************************************************** 
    56  * Tree 
    57  *****************************************************************************/ 
    58 /** defgroup libvlc_tree Tree 
    59  * \ingroup libvlc 
    60  * LibVLC Tree  
    61  * @{ 
    62  */ 
    63  
    64 typedef void (*libvlc_retain_function)(void *); 
    65 typedef void (*libvlc_release_function)(void *); 
    66  
    67 typedef struct libvlc_tree_t libvlc_tree_t; 
    68  
    69 /**@} */ 
    70  
    71 /***************************************************************************** 
    7256 * Tag 
    7357 *****************************************************************************/ 
     
    314298    libvlc_MediaListPlayerStopped, 
    315299 
    316     libvlc_TreeSubtreeAdded, 
    317     libvlc_TreeSubtreeDeleted, 
    318     libvlc_TreeItemValueChanged, 
    319  
    320300} libvlc_event_type_t; 
    321301 
     
    360340            int index; 
    361341        } media_list_item_deleted; 
    362  
    363         /* Tree */ 
    364         struct 
    365         { 
    366             libvlc_tree_t * subtree; 
    367             int index; 
    368         } tree_subtree_added; 
    369         struct 
    370         { 
    371             libvlc_tree_t * subtree; 
    372             int index; 
    373         } tree_subtree_deleted; 
    374         struct 
    375         { 
    376             void * new_value; 
    377         } tree_item_value_changed; 
    378  
    379342    } u; 
    380343} libvlc_event_t; 
  • src/Makefile.am

    rd0f7b99 r218648e  
    328328    control/mediacontrol_audio_video.c \ 
    329329    control/media_discoverer.c \ 
    330     control/tag_query.c \ 
    331     control/tree.c 
     330    control/tag_query.c 
    332331 
    333332############################################################################### 
  • src/control/libvlc_internal.h

    r259aca4 r218648e  
    9494    libvlc_tag_t       tag; 
    9595    char *             psz_tag_key; 
    96 }; 
    97  
    98 struct libvlc_tree_t 
    99 { 
    100     libvlc_event_manager_t * p_event_manager; 
    101     int     i_refcount; 
    102     void *  p_item; /* For dynamic sublist */ 
    103     libvlc_retain_function  pf_item_retain; 
    104     libvlc_release_function pf_item_release; 
    105     DECL_ARRAY(struct libvlc_tree_t *)  subtrees; /* For dynamic sublist */ 
    10696}; 
    10797 
     
    162152    int                      i_refcount; 
    163153    libvlc_media_list_t *    p_mlist; 
    164     libvlc_tree_t *          p_playlists_tree; 
    165154}; 
    166155