smf/inc/common/smfmusic/smftrackinfo_p.h
changeset 7 be09cf1f39dd
parent 6 c39a6cfd1fb9
child 8 4102c67b6e56
equal deleted inserted replaced
6:c39a6cfd1fb9 7:be09cf1f39dd
     1 /**
       
     2  * Copyright (c) 2010 Sasken Communication Technologies Ltd.
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of the "Eclipse Public License v1.0" 
       
     6  * which accompanies  this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html"
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
       
    11  *
       
    12  * Contributors:
       
    13  * Manasij Roy, Nalina Hariharan
       
    14  * 
       
    15  * Description:
       
    16  * Private class implemented for implicit sharing of SmfTrackInfo class
       
    17  *
       
    18  */
       
    19 
       
    20 #ifndef SMFTRACKINFO_P_H_
       
    21 #define SMFTRACKINFO_P_H_
       
    22 
       
    23 #include <QTime>
       
    24 #include <smfmusicrating.h>
       
    25 #include <smfcomment.h>
       
    26 #include <QStringList>
       
    27 #include <QSharedData>
       
    28 
       
    29 class SmfTrackInfoPrivate : public QSharedData
       
    30 {
       
    31 public:
       
    32 	/**
       
    33 	 * Constructor
       
    34 	 */
       
    35 	SmfTrackInfoPrivate( int aMaxRating = 0, int aMinRating = 0 );
       
    36 	
       
    37 	/**
       
    38 	 * Copy Constructor
       
    39 	 * @param aOther The reference object to be copy constructed
       
    40 	 */
       
    41 	SmfTrackInfoPrivate( const SmfTrackInfoPrivate &aOther ) ;
       
    42 	/**
       
    43 	 * Destructor
       
    44 	 */
       
    45 	~SmfTrackInfoPrivate( );
       
    46   
       
    47 	QString m_trackId;		// track id
       
    48 	QString m_title;		// title
       
    49 	SmfAlbum m_album;		// album 
       
    50 	SmfArtists m_artists;	// artist name
       
    51 	QString m_genre;		// genre information
       
    52 	QStringList m_tags;		// tag information
       
    53 	QDateTime m_year;			// release year
       
    54 	SmfMusicRating m_rating;// rating
       
    55 	QList<SmfComment> m_comments;	// comments
       
    56 	QTime m_duration;		// duration
       
    57 	
       
    58 };
       
    59 
       
    60 #endif /* SMFTRACKINFO_P_H_ */