SqlRegistry API question

Maximilian Kossick mkossick at gmx.de
Thu Mar 15 22:31:07 CET 2007


Hi Alexandre,
i've got a question about the getArtists / getGenres /... methods you added to 
SqlRegistry recently. I don't quite understand why all of the return a list 
of DataPtrs. When one calls a method called getArtists, wouldn't it make 
sense to have it return a list of ArtistPtrs? The calling code could cast it 
to DataPtr if necessary.

Cheers, Max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20070315/b1149e82/attachment-0001.pgp 


More information about the Amarok-devel mailing list