void CmdPlaytreeSort::execute()
{
- // TODO: Choose sort method
+ /// \todo Choose sort method/order - Need more commands
playlist_t *p_playlist = getIntf()->p_sys->p_playlist;
vlc_mutex_lock( &p_playlist->object_lock );
playlist_view_t* p_view = playlist_ViewFind( p_playlist, p_playlist->status.i_view );
}
else if ( arg->i_type == 2 ) // Item-append
{
- /* TODO: Check if the item should be visible. If it is, makeImage
- * Else, do nothing
- */
+ /// \todo Check if the really is really visible in the view (we only check if it in the document)
if( arg->b_visible == true )
{
makeImage();
void CtrlTree::onResize()
{
- // FIXME : shouldn't be the same as the onUpdate function ... but i'm lazy
// Determine what is the first item to display
VarTree::Iterator it = m_rTree.begin();
}
it = m_rTree.getNextVisibleItem( it );
}
- /* TODO: Reposition percentage var to accomodate if it's not suitable anymore
- * (if we expanded a node)
- */
+ /// \todo Reposition percentage var to accomodate if it's not suitable anymore (if we expanded a node)
}
VarTree::Iterator CtrlTree::findItemAtPos( int pos )
VarTree::~VarTree()
{
-// TODO : check that children are deleted
+/// \todo check that children are deleted
}
void VarTree::add( int id, const UStringPtr &rcString, bool selected,
/// Remove all elements from the children's list
virtual void clear();
- /// FIXME should be private
+ /// \todo Use accessors for these fields ?
int m_id;
UStringPtr m_cString;
bool m_selected;
Playtree::~Playtree()
{
if( iconvHandle != (vlc_iconv_t) - 1 ) vlc_iconv_close( iconvHandle );
- // TODO : check that everything is destroyed
}
void Playtree::delSelected()
}
}
}
- // TODO: Do this better
+ /// \todo Do this better (handle item-deleted)
buildTree();
tree_update descr;
descr.i_type = 1;
playlist_view_t *p_view;
p_view = playlist_ViewFind( m_pPlaylist, VIEW_CATEGORY );
- /* TODO : let the user chose the view type */
+ /// \todo let the user chose the view
clear();
- /* XXX : do we need Playlist::clear() instead of VarTree::clear() ? */
/* Set the root's name */
UString *pName = new UString( getIntf(), p_view->p_root->input.psz_name );