Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

playtree.hpp

00001 /*****************************************************************************
00002  * playtree.hpp
00003  *****************************************************************************
00004  * Copyright (C) 2005 VideoLAN
00005  * $Id: playlist.hpp 8659 2004-09-07 21:16:49Z gbazin $
00006  *
00007  * Authors: Antoine Cellerier <[email protected]>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
00022  *****************************************************************************/
00023 
00024 #ifndef PLAYTREE_HPP
00025 #define PLAYTREE_HPP
00026 
00027 #include "../utils/var_tree.hpp"
00028 
00030 class Playtree: public VarTree
00031 {
00032     public:
00033         Playtree( intf_thread_t *pIntf );
00034         virtual ~Playtree();
00035 
00037         virtual void delSelected();
00038 
00040         virtual void action( VarTree *pItem );
00041 
00043         void onChange();
00044 
00046         void onUpdate( int id );
00047 
00048     private:
00050         playlist_t *m_pPlaylist;
00052         vlc_iconv_t iconvHandle;
00053 
00055         void buildTree();
00056 
00058         void buildNode( playlist_item_t *p_node, VarTree &m_pNode );
00059 };
00060 
00061 #endif

Generated on Tue Dec 20 10:14:43 2005 for vlc-0.8.4a by  doxygen 1.4.2