28 public: |
28 public: |
29 /** |
29 /** |
30 * Constructor |
30 * Constructor |
31 */ |
31 */ |
32 SmfPlaylistPrivate( ) { |
32 SmfPlaylistPrivate( ) { |
33 m_trackList.clear(); |
33 m_version.clear(); |
34 m_title.clear(); |
34 m_title.clear(); |
|
35 m_author.clear(); |
|
36 m_comments.clear(); |
|
37 m_info.clear(); |
|
38 m_location.clear(); |
35 m_playlistId.clear(); |
39 m_playlistId.clear(); |
|
40 m_image.clear(); |
|
41 m_license.clear(); |
|
42 m_attribution.clear(); |
|
43 m_trackList.clear(); |
36 } |
44 } |
37 |
45 |
38 /** |
46 /** |
39 * Copy Consturctor |
47 * Copy Consturctor |
40 * @param aOther The reference object to be copy constructed |
48 * @param aOther The reference object to be copy constructed |
41 */ |
49 */ |
42 SmfPlaylistPrivate( const SmfPlaylistPrivate &aOther ) : |
50 SmfPlaylistPrivate( const SmfPlaylistPrivate &aOther ) : |
43 QSharedData ( aOther ), |
51 QSharedData ( aOther ), |
44 m_trackList ( aOther.m_trackList ), |
52 m_version ( aOther.m_version ), |
45 m_title ( aOther.m_title ), |
53 m_title ( aOther.m_title ), |
|
54 m_author ( aOther.m_author ), |
|
55 m_comments ( aOther.m_comments ), |
|
56 m_info ( aOther.m_info ), |
|
57 m_location ( aOther.m_location ), |
|
58 m_playlistId ( aOther.m_playlistId ), |
|
59 m_image ( aOther.m_image ), |
46 m_creationDate ( aOther.m_creationDate ), |
60 m_creationDate ( aOther.m_creationDate ), |
47 m_playlistId ( aOther.m_playlistId ) { } |
61 m_license ( aOther.m_license ), |
|
62 m_attribution ( aOther.m_attribution ), |
|
63 m_metadata ( aOther.m_metadata ), |
|
64 m_extension ( aOther.m_extension ), |
|
65 m_trackList ( aOther.m_trackList ) { } |
48 |
66 |
49 /** |
67 /** |
50 * Destructor |
68 * Destructor |
51 */ |
69 */ |
52 ~SmfPlaylistPrivate( ) |
70 ~SmfPlaylistPrivate( ) |
53 { |
71 { |
54 } |
72 } |
55 |
73 |
56 QList<SmfTrackInfo> m_trackList;// list of tracks |
74 /** |
57 QString m_title; // playlist name |
75 * Data members |
58 QDateTime m_creationDate; // creation date |
76 */ |
59 QString m_playlistId; |
77 QString m_version; // playlist version |
|
78 QString m_title; // playlist title |
|
79 QString m_author; // playlist creator |
|
80 QList<SmfComment> m_comments; // comments about the playlist |
|
81 QUrl m_info; // URI of a web page to find out more about this playlist |
|
82 QUrl m_location; // The Source URI for this playlist |
|
83 QString m_playlistId; // The playlist ID |
|
84 QUrl m_image; // URI of an image to display in the absence of an |
|
85 // image for playlist's tracks |
|
86 QDateTime m_creationDate; // creation date of the playlist |
|
87 QUrl m_license; // URI of a resource that describes the license under |
|
88 // which this playlist was released |
|
89 QList<QUrl> m_attribution; // An ordered list of URIs. The purpose is to satisfy licenses |
|
90 // allowing modification but requiring attribution |
|
91 QVariantMap m_metadata; // The meta element allows metadata fields to be added to XSPF |
|
92 QVariantMap m_extension; // The extension element allows non-XSPF XML |
|
93 // to be included in XSPF documents |
|
94 QList<SmfTrackInfo> m_trackList;// list of tracks in the playlist |
60 |
95 |
61 }; |
96 }; |
62 |
97 |
63 #endif /* SMFPLAYLIST_P_H_ */ |
98 #endif /* SMFPLAYLIST_P_H_ */ |