/*************************************************************************** * copyright : (C) 2006 Seb Ruiz * **************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef IPODLISTITEM_H #define IPODLISTITEM_H extern "C" { #include } #include namespace IpodExport { class IpodAlbumItem : public TDEListViewItem { public: IpodAlbumItem( TQListView *parent, TQListViewItem *after, Itdb_PhotoAlbum *pa ); TQString name() const { return m_name; } Itdb_PhotoAlbum *photoAlbum() const { return m_photoAlbum; } void setPhotoAlbum( Itdb_PhotoAlbum *pa ); void setName( const TQString & name ); private: TQString m_name; Itdb_PhotoAlbum *m_photoAlbum; }; class IpodPhotoItem : public TDEListViewItem { public: IpodPhotoItem( IpodAlbumItem *parent, IpodPhotoItem *after, Itdb_Artwork *art ); Itdb_Artwork *artwork() const { return m_artwork; } void setArtwork( Itdb_Artwork *art ); private: Itdb_Artwork *m_artwork; }; } #endif // IPODLISTITEM_H