blob: a23126f35e663bd3e8a4a884ba481b18535c35a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/***************************************************************************
* copyright : (C) 2006 Seb Ruiz <me@sebruiz.net> *
**************************************************************************/
/***************************************************************************
* *
* 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 <gpod/itdb.h>
}
#include <tdelistview.h>
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
|