|
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 SmfAlbum class |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef SMFALBUM_P_H_ |
|
21 #define SMFALBUM_P_H_ |
|
22 |
|
23 #include <smfartists.h> |
|
24 #include <QStringList> |
|
25 #include <QSharedData> |
|
26 |
|
27 class SmfAlbumPrivate : public QSharedData |
|
28 { |
|
29 public: |
|
30 /** |
|
31 * Constructor |
|
32 */ |
|
33 SmfAlbumPrivate( ) { |
|
34 m_name.clear(); |
|
35 m_albumId.clear(); |
|
36 |
|
37 } |
|
38 |
|
39 /** |
|
40 * Copy Consturctor |
|
41 * @param aOther The reference object to be copy constructed |
|
42 */ |
|
43 SmfAlbumPrivate( const SmfAlbumPrivate &aOther ) : |
|
44 QSharedData ( aOther ), |
|
45 m_name ( aOther.m_name ), |
|
46 m_image ( aOther.m_image ), |
|
47 m_artists ( aOther.m_artists ), |
|
48 m_albumId ( aOther.m_albumId ) { } |
|
49 |
|
50 /** |
|
51 * Destructor |
|
52 */ |
|
53 ~SmfAlbumPrivate( ) |
|
54 { |
|
55 } |
|
56 |
|
57 QString m_name; // album name |
|
58 QImage m_image; // album image |
|
59 SmfArtists m_artists; // album's artists |
|
60 QString m_albumId; // album Id |
|
61 |
|
62 }; |
|
63 |
|
64 #endif /* SMFALBUM_P_H_ */ |